package: fix insmod on install
the procd changes broke the postinst insmod. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37015
This commit is contained in:
@@ -203,6 +203,13 @@ config_list_foreach() {
|
||||
done
|
||||
}
|
||||
|
||||
insert_modules() {
|
||||
[ -d /etc/modules.d ] && {
|
||||
cd /etc/modules.d
|
||||
sed 's/^[^#]/insmod &/' $* | ash 2>&- || :
|
||||
}
|
||||
}
|
||||
|
||||
include() {
|
||||
local file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user