diff options
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/mountall.sh')
| -rwxr-xr-x | openembedded/packages/initscripts/initscripts-1.0/mountall.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/openembedded/packages/initscripts/initscripts-1.0/mountall.sh b/openembedded/packages/initscripts/initscripts-1.0/mountall.sh deleted file mode 100755 index b5cb85a1e9..0000000000 --- a/openembedded/packages/initscripts/initscripts-1.0/mountall.sh +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | # | ||
| 2 | # mountall.sh Mount all filesystems. | ||
| 3 | # | ||
| 4 | # Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl | ||
| 5 | # | ||
| 6 | . /etc/default/rcS | ||
| 7 | |||
| 8 | # | ||
| 9 | # Mount local filesystems in /etc/fstab. For some reason, people | ||
| 10 | # might want to mount "proc" several times, and mount -v complains | ||
| 11 | # about this. So we mount "proc" filesystems without -v. | ||
| 12 | # | ||
| 13 | test "$VERBOSE" != no && echo "Mounting local filesystems..." | ||
| 14 | mount -at nonfs,nosmbfs,noncpfs 2>/dev/null | ||
| 15 | |||
| 16 | # | ||
| 17 | # We might have mounted something over /dev, see if /dev/initctl is there. | ||
| 18 | # | ||
| 19 | if test ! -p /dev/initctl | ||
| 20 | then | ||
| 21 | rm -f /dev/initctl | ||
| 22 | mknod -m 600 /dev/initctl p | ||
| 23 | fi | ||
| 24 | kill -USR1 1 | ||
| 25 | |||
| 26 | # | ||
| 27 | # Execute swapon command again, in case we want to swap to | ||
| 28 | # a file on a now mounted filesystem. | ||
| 29 | # | ||
| 30 | doswap=yes | ||
| 31 | case "`uname -r`" in | ||
| 32 | 2.[0123].*) | ||
| 33 | if grep -qs resync /proc/mdstat | ||
| 34 | then | ||
| 35 | doswap=no | ||
| 36 | fi | ||
| 37 | ;; | ||
| 38 | esac | ||
| 39 | if test $doswap = yes | ||
| 40 | then | ||
| 41 | swapon -a 2> /dev/null | ||
| 42 | fi | ||
| 43 | |||
| 44 | : exit 0 | ||
| 45 | |||
