openwrtv4/openwrt/package/base-files/default/etc/init.d/S98done
2006-06-27 00:36:13 +00:00

11 lines
209 B
Bash
Executable file

#!/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
}