mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 19:30:37 +02:00
676c017ecf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
10 lines
175 B
Bash
Executable File
10 lines
175 B
Bash
Executable File
#!/bin/sh
|
|
sysctl -p >&-
|
|
|
|
# automagically run firstboot
|
|
{ mount|grep "on / type tmpfs" 1>&-; } && {
|
|
lock /tmp/.switch2jffs
|
|
firstboot switch2jffs
|
|
lock -u /tmp/.switch2jffs
|
|
}
|