large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
[openwrt.git] / openwrt / package / base-files / default / etc / init.d / S98done
1 #!/bin/sh
2 sysctl -p >&-
3
4 # automagically run firstboot
5 { mount|grep "on / type tmpfs" 1>&-; } && {
6         lock /tmp/.switch2jffs
7         firstboot switch2jffs
8         lock -u /tmp/.switch2jffs
9 }