summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/initscripts/initscripts-1.0/mountall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/mountall.sh')
-rwxr-xr-xopenembedded/packages/initscripts/initscripts-1.0/mountall.sh45
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#
13test "$VERBOSE" != no && echo "Mounting local filesystems..."
14mount -at nonfs,nosmbfs,noncpfs 2>/dev/null
15
16#
17# We might have mounted something over /dev, see if /dev/initctl is there.
18#
19if test ! -p /dev/initctl
20then
21 rm -f /dev/initctl
22 mknod -m 600 /dev/initctl p
23fi
24kill -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#
30doswap=yes
31case "`uname -r`" in
32 2.[0123].*)
33 if grep -qs resync /proc/mdstat
34 then
35 doswap=no
36 fi
37 ;;
38esac
39if test $doswap = yes
40then
41 swapon -a 2> /dev/null
42fi
43
44: exit 0
45