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:
John Crispin
2013-06-22 22:09:40 +00:00
parent 3df61e8279
commit 43a3d87b83
2 changed files with 8 additions and 1 deletions

View File

@@ -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