From 1d73583a583288fb6c772b55320e304a893896bc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 25 Jun 2008 15:12:21 +0000 Subject: 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 --- meta/packages/initscripts/initscripts-1.0/sysfs.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'meta') 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 -- cgit v1.2.3