projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
717c661
)
SlugOS: turnup - ensure that /sys and /proc are mounted first in linuxrc
author
Mike Westerhof
<mwester@dls.net>
Sun, 14 Dec 2008 16:55:49 +0000
(10:55 -0600)
committer
Mike Westerhof
<mwester@dls.net>
Sun, 14 Dec 2008 16:55:49 +0000
(10:55 -0600)
(fixes lack of "beep" when userspace starts)
packages/slugos-init/files/turnup
patch
|
blob
|
history
diff --git
a/packages/slugos-init/files/turnup
b/packages/slugos-init/files/turnup
index
51b801d
..
4e92668
100644
(file)
--- 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' "