openwrtv4/openwrt/package/base-files/default/etc/init.d/S98done

10 lines
175 B
Text
Raw Normal View History

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