projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
base-files
/
default
/
etc
/
init.d
/
S98done
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
(executable)
index 0000000..
5d5ab49
--- /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
+}