diff options
author | Mike Baker <mbm@openwrt.org> | 2006-11-23 18:22:06 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-11-23 18:22:06 +0000 |
commit | 9cc85a562e0408358942b01f472744facdc5eefd (patch) | |
tree | aae3ee1399751d660fe30e35ba079a5c3efbfce4 /package/base-files/files/etc/functions.sh | |
parent | 3d94dc62cf2bc1371350ee0737a8178f5540cf07 (diff) | |
download | mtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.zip mtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.tar.gz mtk-20170518-9cc85a562e0408358942b01f472744facdc5eefd.tar.bz2 |
fix sed error installing kmod ipkgs
SVN-Revision: 5629
Diffstat (limited to 'package/base-files/files/etc/functions.sh')
-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 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>&- || : } |