package/dkml: supports auto unload platform drivers
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
This commit is contained in:
parent
d656fbded9
commit
524cd43844
@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dkml
|
||||
PKG_VERSION:=1.0.7
|
||||
PKG_VERSION:=1.0.8
|
||||
PKG_RELEASE:=1
|
||||
PKG_FLAGS:=hold essential nonshared
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ START=25
|
||||
|
||||
check_driver_bond() {
|
||||
local kmod="$1"
|
||||
ls /sys/module/$kmod/drivers/*/ | grep -v '^/sys/module/' | grep -Fq :
|
||||
ls /sys/module/$kmod/drivers/*/ | grep -v '^/sys/module/' | grep -Fq -e : -e .
|
||||
}
|
||||
|
||||
rmmod_r() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user