remove hotplug scripts as netlink events are used instead

This commit is contained in:
Jakob Olsson 2018-08-20 10:20:14 +02:00
parent cb3d39d02f
commit 99dbb2ddfe
2 changed files with 0 additions and 25 deletions

View file

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

View file

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