summaryrefslogtreecommitdiffstats
path: root/meta
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
parent6b0a7968b4d6fa2ba0e0d38013e72826e78fbe72 (diff)
downloadpoky-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')
-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 @@
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
3if [ -e /proc ] && ! [ -e /proc/mounts ]; then 13if [ -e /proc ] && ! [ -e /proc/mounts ]; then
4 mount -t proc proc /proc 14 mount -t proc proc /proc
@@ -7,5 +17,3 @@ fi
7if [ -e /sys ] && grep -q sysfs /proc/filesystems; then 17if [ -e /sys ] && grep -q sysfs /proc/filesystems; then
8 mount sysfs /sys -t sysfs 18 mount sysfs /sys -t sysfs
9fi 19fi
10
11exit 0