From 01d4ffb5c9229559938dde29f29c77404189870a Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 14 Dec 2008 10:55:49 -0600 Subject: SlugOS: turnup - ensure that /sys and /proc are mounted first in linuxrc (fixes lack of "beep" when userspace starts) --- packages/slugos-init/files/turnup | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/slugos-init') 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' " -- cgit v1.2.3