From ffa580ddcffabd564f340d2234a9f57490ce4ad6 Mon Sep 17 00:00:00 2001 From: mbm Date: Thu, 23 Nov 2006 18:22:06 +0000 Subject: fix sed error installing kmod ipkgs git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/etc/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/base-files') 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>&- || : } -- cgit v1.2.3