hotplug: add script to check for interface up/down

This commit is contained in:
Jakob Olsson 2018-08-21 10:51:54 +02:00
parent 9d7c98f1c7
commit 38261d8da7

View file

@ -0,0 +1,8 @@
if echo $DEVICE | grep "eth5";then
ubus call mdmngr refresh
fi
if echo $DEVICE | grep "usb0";then
ubus call mdmngr refresh
fi