summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-23 18:22:06 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-23 18:22:06 +0000
commitffa580ddcffabd564f340d2234a9f57490ce4ad6 (patch)
treeb526f6d3bf2423bd5f6220f11618e7777fe3f747
parent271c7696bd3554be8561c12ba9c31654d70ed2e2 (diff)
fix sed error installing kmod ipkgs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 bf412df6d5..0f3618e7fd 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>&- || :
}