aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/sysvinit/sysvinit
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-17 09:06:59 +0100
committerPhil Blundell <philb@gnu.org>2009-06-17 09:06:59 +0100
commit77bf7d8f008775376cfbaacb05ef62afd386703b (patch)
tree6278fe2d4b431a29f0338db7850503464abcab4d /recipes/sysvinit/sysvinit
parent4ae4aa6d3ebcd9bd2249a36a8b07a396fcfb6f08 (diff)
downloadopenembedded-77bf7d8f008775376cfbaacb05ef62afd386703b.tar.gz
sysvinit: make sure /sys is mounted at bootup
Diffstat (limited to 'recipes/sysvinit/sysvinit')
-rwxr-xr-xrecipes/sysvinit/sysvinit/rcS3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes/sysvinit/sysvinit/rcS b/recipes/sysvinit/sysvinit/rcS
index e1c8b57ea1..15b90f79c5 100755
--- a/recipes/sysvinit/sysvinit/rcS
+++ b/recipes/sysvinit/sysvinit/rcS
@@ -16,6 +16,9 @@ export PATH runlevel prevlevel
#
[ -d "/proc/1" ] || mount proc /proc -t proc
+# Make sure sys is mounted
+[ -d "/sys/kernel" ] || mount sysfs /sys -t sysfs
+
#
# See if system needs to be setup. This is ONLY meant to
# be used for the initial setup after a fresh installation!