From: Mike Baker Date: Thu, 23 Nov 2006 18:22:06 +0000 (+0000) Subject: fix sed error installing kmod ipkgs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9cc85a562e0408358942b01f472744facdc5eefd;p=openwrt%2Fstaging%2Fmkresin.git fix sed error installing kmod ipkgs SVN-Revision: 5629 --- 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>&- || : }