diff options
author | Mike Westerhof <mwester@dls.net> | 2008-12-14 10:55:49 -0600 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2008-12-14 10:55:49 -0600 |
commit | 01d4ffb5c9229559938dde29f29c77404189870a (patch) | |
tree | 0cf7920f92ec0d9a47c96e4bbf62bff8e8a081ba /packages/slugos-init | |
parent | 717c661b8d5c1c65d6baac1b7850cc69d5113400 (diff) |
SlugOS: turnup - ensure that /sys and /proc are mounted first in linuxrc
(fixes lack of "beep" when userspace starts)
Diffstat (limited to 'packages/slugos-init')
-rw-r--r-- | packages/slugos-init/files/turnup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/slugos-init/files/turnup b/packages/slugos-init/files/turnup index 51b801dfea..4e92668b18 100644 --- a/packages/slugos-init/files/turnup +++ b/packages/slugos-init/files/turnup @@ -496,6 +496,8 @@ boot_rootfs() { return 1 };; ram) { echo '#!/bin/sh' + echo 'mount -t proc proc /proc' + echo 'mount -t sysfs sysfs /sys' echo 'leds beep' echo 'rm -f /linuxrc.new' echo 'ln -s boot/flash /linuxrc.new' @@ -508,6 +510,8 @@ boot_rootfs() { return 1 };; *) { echo '#!/bin/sh' + echo 'mount -t proc proc /proc' + echo 'mount -t sysfs sysfs /sys' echo 'leds beep' test "$sleep" -gt 0 && echo -n "sleep='$sleep' " test -n "$uuid" && echo -n "UUID='$uuid' " |