]> code.ossystems Code Review - openembedded-core.git/commitdiff
initscripts: don't exit in sysfs.sh as this is sources
authorRoss Burton <ross@openedhand.com>
Wed, 25 Jun 2008 15:12:21 +0000 (15:12 +0000)
committerRoss Burton <ross@openedhand.com>
Wed, 25 Jun 2008 15:12:21 +0000 (15:12 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4728 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/initscripts/initscripts-1.0/sysfs.sh

index 4486128ad520b03243e011f6346093d1f300fff4..f779a6e88106f0ec199648743b0ab836ff179e65 100644 (file)
@@ -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