projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
029055c
)
mount sysfs at boot on linux 2.6
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jan 2006 01:41:29 +0000
(
01:41
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 5 Jan 2006 01:41:29 +0000
(
01:41
+0000)
SVN-Revision: 2835
openwrt/package/base-files/default/etc/preinit
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/preinit
b/openwrt/package/base-files/default/etc/preinit
index ac9039ca7175f5d7681b3704a118877827e57764..f82823ec9c5b8b45e9c76696f13adb05f1ea5f57 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/preinit
+++ b/
openwrt/package/base-files/default/etc/preinit
@@
-21,4
+21,9
@@
mount_root ${FAILSAFE:+failsafe}
{ mount|grep "on / type jffs2" 1>&-; } || firstboot
}
+grep sysfs /proc/filesystems >&- 2>&- && {
+ mkdir -p /sys
+ mount -t sysfs none /sys
+}
+
exec /sbin/init