summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-11-23 18:22:06 +0000
committerMike Baker <mbm@openwrt.org>2006-11-23 18:22:06 +0000
commit9cc85a562e0408358942b01f472744facdc5eefd (patch)
treeaae3ee1399751d660fe30e35ba079a5c3efbfce4
parent3d94dc62cf2bc1371350ee0737a8178f5540cf07 (diff)
downloadmtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.zip
mtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.tar.gz
mtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.tar.bz2
fix sed error installing kmod ipkgs
SVN-Revision: 5629
-rwxr-xr-xpackage/base-files/files/etc/functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/etc/functions.sh b/package/base-files/files/etc/functions.sh
index bf412df..0f3618e 100755
--- a/package/base-files/files/etc/functions.sh
+++ b/package/base-files/files/etc/functions.sh
@@ -5,7 +5,7 @@
alias debug=${DEBUG:-:}
# newline
-readonly N="
+N="
"
_C=0
@@ -105,6 +105,7 @@ config_set() {
}
load_modules() {
+ cd /etc/modules.d
sed 's/^[^#]/insmod &/' $* | ash 2>&- || :
}