add copyright headers to base-files scripts and config files
[openwrt-10.03/.git] / package / base-files / default / etc / init.d / S98done
1 #!/bin/sh
2 # Copyright (C) 2006 OpenWrt.org
3
4 sysctl -p >&-
5
6 # automagically run firstboot
7 { mount|grep "on / type tmpfs" 1>&-; } && {
8         lock /tmp/.switch2jffs
9         firstboot switch2jffs
10         lock -u /tmp/.switch2jffs
11 }