diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-23 18:22:06 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-23 18:22:06 +0000 |
commit | ffa580ddcffabd564f340d2234a9f57490ce4ad6 (patch) | |
tree | b526f6d3bf2423bd5f6220f11618e7777fe3f747 /package | |
parent | 271c7696bd3554be8561c12ba9c31654d70ed2e2 (diff) |
fix sed error installing kmod ipkgs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-x | package/base-files/files/etc/functions.sh | 3 |
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 bf412df6d..0f3618e7f 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>&- || : } |