mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-19 20:10:39 +02:00
10 lines
175 B
Plaintext
10 lines
175 B
Plaintext
|
#!/bin/sh
|
||
|
sysctl -p >&-
|
||
|
|
||
|
# automagically run firstboot
|
||
|
{ mount|grep "on / type tmpfs" 1>&-; } && {
|
||
|
lock /tmp/.switch2jffs
|
||
|
firstboot switch2jffs
|
||
|
lock -u /tmp/.switch2jffs
|
||
|
}
|