mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
fix uci_load trash output (#1040)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5745 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -23,7 +23,7 @@ uci_load() {
|
||||
config_load "$PACKAGE"
|
||||
local PACKAGE_BASE="$(basename "$PACKAGE")"
|
||||
[ -f "/tmp/.uci/${PACKAGE_BASE}" ] && {
|
||||
. "/tmp/.uci/${PACKAGE_BASE}"
|
||||
. "/tmp/.uci/${PACKAGE_BASE}" 2>&/dev/null >&/dev/null
|
||||
config_cb
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user