base-files: do not source system.sh in functions.sh
[openwrt/staging/wigyori.git] / package / base-files / files / lib / functions.sh
index fe908f7aa4fbb5bd79a51ee2f70766ba3fa3b154..a77b669709ff7b2895e2cb20a5d86c6203700428 100755 (executable)
@@ -254,7 +254,6 @@ default_postinst() {
                fi
 
                if grep -m1 -q -s "^/etc/uci-defaults/" "$filelist"; then
-                       . /lib/functions/system.sh
                        [ -d /tmp/.uci ] || mkdir -p /tmp/.uci
                        for i in $(grep -s "^/etc/uci-defaults/" "$filelist"); do
                                ( [ -f "$i" ] && cd "$(dirname $i)" && . "$i" ) && rm -f "$i"