projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package: fix insmod on install
[openwrt/staging/dedeckeh.git]
/
package
/
base-files
/
files
/
lib
/
functions.sh
diff --git
a/package/base-files/files/lib/functions.sh
b/package/base-files/files/lib/functions.sh
index a488f4dc01af370a74979f2a253d328ac9e7b7f6..bc521b07ee0c906ac5fc4ebff0e20a2efbcf76af 100755
(executable)
--- a/
package/base-files/files/lib/functions.sh
+++ b/
package/base-files/files/lib/functions.sh
@@
-1,6
+1,7
@@
#!/bin/sh
#!/bin/sh
-# Copyright (C) 2006-201
1
OpenWrt.org
+# Copyright (C) 2006-201
3
OpenWrt.org
# Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
# Copyright (C) 2006 Fokus Fraunhofer <carsten.tittel@fokus.fraunhofer.de>
+# Copyright (C) 2010 Vertical Communications
debug () {
debug () {
@@
-202,7
+203,7
@@
config_list_foreach() {
done
}
done
}
-
load
_modules() {
+
insert
_modules() {
[ -d /etc/modules.d ] && {
cd /etc/modules.d
sed 's/^[^#]/insmod &/' $* | ash 2>&- || :
[ -d /etc/modules.d ] && {
cd /etc/modules.d
sed 's/^[^#]/insmod &/' $* | ash 2>&- || :
@@
-406,10
+407,6
@@
pi_include() {
return 0
}
return 0
}
-#!/bin/sh
-# Copyright (C) 2006-2010 OpenWrt.org
-# Copyright (C) 2010 Vertical Communications
-
boot_hook_splice_start() {
export -n PI_HOOK_SPLICE=1
}
boot_hook_splice_start() {
export -n PI_HOOK_SPLICE=1
}
@@
-472,7
+469,7
@@
boot_run_hook() {
done
}
done
}
-jffs2_ready
() {
+jffs2_ready() {
mtdpart="$(find_mtd_part rootfs_data)"
[ -z "$mtdpart" ] && return 1
magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')
mtdpart="$(find_mtd_part rootfs_data)"
[ -z "$mtdpart" ] && return 1
magic=$(hexdump $mtdpart -n 4 -e '4/1 "%02x"')