package/dkml: ignore empty module on load
This commit is contained in:
parent
0ea51a164b
commit
dafcc90340
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dkml
|
||||
PKG_VERSION:=1.0.6
|
||||
PKG_VERSION:=1.0.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_FLAGS:=hold essential nonshared
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@ boot() {
|
||||
local info kmod action p1 ignore
|
||||
local enable="$( uci -q get kmods.kmods.enable )"
|
||||
ls /etc/modules-pending.d/ 2>/dev/null | while read info; do
|
||||
[ -s "/etc/modules-pending.d/$info" ] || continue
|
||||
if echo "$enable" | grep -qFw "$info" ; then
|
||||
action=enable_kmod
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user