mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-02-18 10:11:20 +01:00
remove hotplug scripts as netlink events are used instead
This commit is contained in:
parent
cb3d39d02f
commit
99dbb2ddfe
2 changed files with 0 additions and 25 deletions
|
|
@ -1,8 +0,0 @@
|
|||
if echo $DEVICE | grep "eth";then
|
||||
ubus call dongle refresh
|
||||
fi
|
||||
|
||||
if echo $DEVICE | grep "usb";then
|
||||
ubus call dongle refresh
|
||||
fi
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
DEV_MOUNTPATH=`echo "$DEVPATH" | cut -d'/' -f 1-7`
|
||||
JUNK=`echo "$DEVPATH" | cut -d'/' -f 8`
|
||||
|
||||
case "$ACTION" in
|
||||
add)
|
||||
if [ -z "$JUNK" ];then
|
||||
#ubus call dongle alert '{"path":"/sys'${DEV_MOUNTPATH}'"}'
|
||||
ubus call dongle refresh
|
||||
fi
|
||||
;;
|
||||
remove)
|
||||
ubus call dongle refresh
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
Loading…
Add table
Reference in a new issue