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

12 lines
209 B
Plaintext
Raw Normal View History

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