mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 19:54:03 +02:00
93701b2bec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@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
|
|
}
|