projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use numeric prefixes for uci-defaults scripts
[project/luci.git]
/
applications
/
luci-app-p910nd
/
root
/
etc
/
uci-defaults
/
40_luci-p910nd
diff --git a/applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd
b/applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd
new file mode 100755
(executable)
index 0000000..
80f6d62
--- /dev/null
+++ b/
applications/luci-app-p910nd/root/etc/uci-defaults/40_luci-p910nd
@@ -0,0
+1,11
@@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@p910nd[-1]
+ add ucitrack p910nd
+ set ucitrack.@p910nd[-1].init=p910nd
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0