summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4486128ad..f779a6e88 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