summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/etc/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/base-files/default/etc/functions.sh')
-rwxr-xr-xopenwrt/package/base-files/default/etc/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/functions.sh b/openwrt/package/base-files/default/etc/functions.sh
index 27b0a6d..ce22ed1 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
}