summaryrefslogtreecommitdiffstats
path: root/openwrt/package/base-files/default/etc/init.d/S98done
blob: 5d5ab49ce33f4e2a592958658d0c61bef8fd9552 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
sysctl -p >&-

# automagically run firstboot
{ mount|grep "on / type tmpfs" 1>&-; } && {
	lock /tmp/.switch2jffs
	firstboot switch2jffs
	lock -u /tmp/.switch2jffs
}