summaryrefslogtreecommitdiff
path: root/meta/packages/initscripts/initscripts-1.0
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-06-25 15:12:21 +0000
committerRoss Burton <ross@openedhand.com>2008-06-25 15:12:21 +0000
commit1d73583a583288fb6c772b55320e304a893896bc (patch)
tree05b46dfb3a308810c20d67f2a8fa041ae04e4129 /meta/packages/initscripts/initscripts-1.0
parent6b0a7968b4d6fa2ba0e0d38013e72826e78fbe72 (diff)
downloadopenembedded-core-1d73583a583288fb6c772b55320e304a893896bc.tar.gz
openembedded-core-1d73583a583288fb6c772b55320e304a893896bc.tar.bz2
openembedded-core-1d73583a583288fb6c772b55320e304a893896bc.zip
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/initscripts/initscripts-1.0')
-rw-r--r--meta/packages/initscripts/initscripts-1.0/sysfs.sh12
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 @@
#!/bin/sh
+### BEGIN INIT INFO
+# Provides: sysfs
+# Required-Start:
+# Required-Stop:
+# Default-Start: S
+# Default-Stop:
+# Short-Description: Mount kernel virtual file systems.
+# Description: Mount initial set of virtual filesystems the kernel
+# provides and that are required by everything.
+### END INIT INFO
if [ -e /proc ] && ! [ -e /proc/mounts ]; then
mount -t proc proc /proc
@@ -7,5 +17,3 @@ fi
if [ -e /sys ] && grep -q sysfs /proc/filesystems; then
mount sysfs /sys -t sysfs
fi
-
-exit 0