projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base-files: reload switch settings on /etc/init.d/network start as well
[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
a788c4c
..
fa0ba04
100755
(executable)
--- a/
package/base-files/files/etc/functions.sh
+++ b/
package/base-files/files/etc/functions.sh
@@
-4,10
+4,10
@@
debug () {
debug () {
- ${DEBUG:-:}
+ ${DEBUG:-:}
"$@"
}
mount() {
}
mount() {
- busybox mount
+ busybox mount
"$@"
}
# newline
}
# newline
@@
-263,7
+263,7
@@
jffs2_mark_erase() {
echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1"
}
echo -e "\xde\xad\xc0\xde" | mtd -qq write - "$1"
}
-uci_apply_defaults() {
(
+uci_apply_defaults() {
cd /etc/uci-defaults || return 0
files="$(ls)"
[ -z "$files" ] && return 0
cd /etc/uci-defaults || return 0
files="$(ls)"
[ -z "$files" ] && return 0
@@
-272,6
+272,6
@@
uci_apply_defaults() {(
( . "./$(basename $file)" ) && rm -f "$file"
done
uci commit
( . "./$(basename $file)" ) && rm -f "$file"
done
uci commit
-
)
}
+}
[ -z "$IPKG_INSTROOT" -a -f /lib/config/uci.sh ] && . /lib/config/uci.sh
[ -z "$IPKG_INSTROOT" -a -f /lib/config/uci.sh ] && . /lib/config/uci.sh
This page took
0.021447 seconds
and
4
git commands to generate.