summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/mountall.sh
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/initscripts/initscripts-1.0/mountall.sh
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/initscripts/initscripts-1.0/mountall.sh')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/mountall.sh60
1 files changed, 0 insertions, 60 deletions
diff --git a/packages/initscripts/initscripts-1.0/mountall.sh b/packages/initscripts/initscripts-1.0/mountall.sh
deleted file mode 100755
index 53bff0fbce..0000000000
--- a/packages/initscripts/initscripts-1.0/mountall.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# mountall.sh Mount all filesystems.
-#
-# Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl
-#
-. /etc/default/rcS
-if test -f /etc/default/mountall; then
- . /etc/default/mountall
-fi
-
-#
-# Mount local filesystems in /etc/fstab. For some reason, people
-# might want to mount "proc" several times, and mount -v complains
-# about this. So we mount "proc" filesystems without -v.
-#
-test "$VERBOSE" != no && echo "Mounting local filesystems..."
-mount -a $MOUNTALL 2>&1 | logger -s -p user.err
-
-#
-# We might have mounted something over /dev, see if /dev/initctl is there.
-#
-if test ! -p /dev/initctl
-then
- rm -f /dev/initctl
- mknod -m 600 /dev/initctl p
-fi
-kill -USR1 1
-
-#
-# Execute swapon command again, in case we want to swap to
-# a file on a now mounted filesystem.
-#
-doswap=yes
-case "`uname -r`" in
- 2.[0123].*)
- if grep -qs resync /proc/mdstat
- then
- doswap=no
- fi
- ;;
-esac
-if test $doswap = yes
-then
- swapon -a 2> /dev/null
-fi
-
-# A missing homedirectory for root can cause all sorts of problems.
-# This can happen after user formats his /home partition for example
-
-if test -e /etc/passwd
-then
- ROOT_HOME="`cat /etc/passwd|grep ^root | awk '{split($0,x,":");printf("%s\n",x[6])}'`"
-
- if test -n "$ROOT_HOME"
- then
- ! test -d "$ROOT_HOME" && mkdir -p "$ROOT_HOME"
- fi
-fi
-: exit 0
-