projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rewrote host environment targets to work out of the box
[project/luci.git]
/
contrib
/
uci
/
hostfiles
/
bin
/
uci-defaults
diff --git a/contrib/uci/hostfiles/bin/uci-defaults
b/contrib/uci/hostfiles/bin/uci-defaults
new file mode 100755
(executable)
index 0000000..
3b58d7b
--- /dev/null
+++ b/
contrib/uci/hostfiles/bin/uci-defaults
@@ -0,0
+1,7
@@
+#!/bin/sh
+for i in $(find $(dirname $0)/../etc/uci-defaults -type f -not -name "$2")
+do
+ [ -f $i ] && {
+ bash $i; rm $i
+ }
+done