mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mount sysfs at boot on linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2835 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f24abcfb7a
commit
9a1fcefbfd
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user