mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-22 16:34:36 +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
|
||
|
}
|