fix sed error installing kmod ipkgs
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Nov 2006 18:22:06 +0000 (18:22 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 23 Nov 2006 18:22:06 +0000 (18:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5629 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/etc/functions.sh

index bf412df..0f3618e 100755 (executable)
@@ -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>&- || :
 }
 
This page took 0.035735 seconds and 4 git commands to generate.