X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=openwrt%2Fpackage%2Fbase-files%2Fdefault%2Fetc%2Ffunctions.sh;h=ce22ed151c3e25dd2eaf9aa6ac6c25e7f87e1e00;hb=da625de806a3e4a4a4986caedf8fbd2c4d3f1e75;hp=27b0a6d5fc90a27c2608456392d619bd89126c46;hpb=643cdb2818568429c07c79a445527eaee673130a;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh index 27b0a6d5fc..ce22ed151c 100755 --- a/openwrt/package/base-files/default/etc/functions.sh +++ b/openwrt/package/base-files/default/etc/functions.sh @@ -93,7 +93,7 @@ load_modules() { } include() { - for file in $(ls /lib/$1/*.sh 2>/dev/null); do + for file in $(ls $1/*.sh 2>/dev/null); do . $file done }