summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/initscripts/initscripts-1.0/mountall.sh
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/mountall.sh')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/mountall.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh b/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh
new file mode 100755
index 0000000000..9d4f97b683
--- /dev/null
+++ b/meta/recipes-core/initscripts/initscripts-1.0/mountall.sh
@@ -0,0 +1,38 @@
1### BEGIN INIT INFO
2# Provides: mountall
3# Required-Start: mountvirtfs
4# Required-Stop:
5# Default-Start: S
6# Default-Stop:
7# Short-Description: Mount all filesystems.
8# Description:
9### END INIT INFO
10
11. /etc/default/rcS
12
13#
14# Mount local filesystems in /etc/fstab. For some reason, people
15# might want to mount "proc" several times, and mount -v complains
16# about this. So we mount "proc" filesystems without -v.
17#
18test "$VERBOSE" != no && echo "Mounting local filesystems..."
19mount -at nonfs,nosmbfs,noncpfs 2>/dev/null
20
21#
22# We might have mounted something over /dev, see if /dev/initctl is there.
23#
24if test ! -p /dev/initctl
25then
26 rm -f /dev/initctl
27 mknod -m 600 /dev/initctl p
28fi
29kill -USR1 1
30
31#
32# Execute swapon command again, in case we want to swap to
33# a file on a now mounted filesystem.
34#
35swapon -a 2> /dev/null
36
37: exit 0
38