diff options
Diffstat (limited to 'openwrt/package/base-files/default/etc/init.d/S98done')
-rwxr-xr-x | openwrt/package/base-files/default/etc/init.d/S98done | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S98done b/openwrt/package/base-files/default/etc/init.d/S98done new file mode 100755 index 0000000000..5d5ab49ce3 --- /dev/null +++ b/openwrt/package/base-files/default/etc/init.d/S98done @@ -0,0 +1,9 @@ +#!/bin/sh +sysctl -p >&- + +# automagically run firstboot +{ mount|grep "on / type tmpfs" 1>&-; } && { + lock /tmp/.switch2jffs + firstboot switch2jffs + lock -u /tmp/.switch2jffs +} |