diff options
author | Ross Burton <ross@openedhand.com> | 2008-06-25 15:12:21 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-06-25 15:12:21 +0000 |
commit | 1d73583a583288fb6c772b55320e304a893896bc (patch) | |
tree | 05b46dfb3a308810c20d67f2a8fa041ae04e4129 /meta/packages | |
parent | 6b0a7968b4d6fa2ba0e0d38013e72826e78fbe72 (diff) | |
download | poky-1d73583a583288fb6c772b55320e304a893896bc.tar.gz |
initscripts: don't exit in sysfs.sh as this is sources
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4728 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/initscripts/initscripts-1.0/sysfs.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/sysfs.sh b/meta/packages/initscripts/initscripts-1.0/sysfs.sh index 4486128ad5..f779a6e881 100644 --- a/meta/packages/initscripts/initscripts-1.0/sysfs.sh +++ b/meta/packages/initscripts/initscripts-1.0/sysfs.sh | |||
@@ -1,4 +1,14 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | ### BEGIN INIT INFO | ||
3 | # Provides: sysfs | ||
4 | # Required-Start: | ||
5 | # Required-Stop: | ||
6 | # Default-Start: S | ||
7 | # Default-Stop: | ||
8 | # Short-Description: Mount kernel virtual file systems. | ||
9 | # Description: Mount initial set of virtual filesystems the kernel | ||
10 | # provides and that are required by everything. | ||
11 | ### END INIT INFO | ||
2 | 12 | ||
3 | if [ -e /proc ] && ! [ -e /proc/mounts ]; then | 13 | if [ -e /proc ] && ! [ -e /proc/mounts ]; then |
4 | mount -t proc proc /proc | 14 | mount -t proc proc /proc |
@@ -7,5 +17,3 @@ fi | |||
7 | if [ -e /sys ] && grep -q sysfs /proc/filesystems; then | 17 | if [ -e /sys ] && grep -q sysfs /proc/filesystems; then |
8 | mount sysfs /sys -t sysfs | 18 | mount sysfs /sys -t sysfs |
9 | fi | 19 | fi |
10 | |||
11 | exit 0 | ||