projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove memleak patch because of issues with premature freeing of memory - i will...
[openwrt.git]
/
package
/
base-files
/
files
/
etc
/
functions.sh
diff --git
a/package/base-files/files/etc/functions.sh
b/package/base-files/files/etc/functions.sh
index
69af187
..
ef28015
100755
(executable)
--- a/
package/base-files/files/etc/functions.sh
+++ b/
package/base-files/files/etc/functions.sh
@@
-217,3
+217,9
@@
jffs2_mark_erase() {
}
echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1"
}
}
echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1"
}
+
+uci_set_default() {
+ local PACKAGE="$1"
+ [ -e "/etc/config/$1" ] && return 0
+ cat > "/etc/config/$1"
+}
This page took
0.022631 seconds
and
4
git commands to generate.