X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3462ef2525e7e3a26bf3784abe698d58ea446b85..77ec3b2de9bb1880b258ec6aaf4949f146f6fd8d:/package/base-files/files/etc/hotplug2-init.rules diff --git a/package/base-files/files/etc/hotplug2-init.rules b/package/base-files/files/etc/hotplug2-init.rules index 098ad047a..f01169776 100644 --- a/package/base-files/files/etc/hotplug2-init.rules +++ b/package/base-files/files/etc/hotplug2-init.rules @@ -1,12 +1,5 @@ -DEVICENAME ~~ (tun|tap[0-9]) { - makedev /dev/net/%DEVICENAME% 0644 - next -} - -DEVPATH is set { - makedev /dev/%DEVICENAME% 0644 -} +$include /etc/hotplug2-common.rules -SUBSYSTEM ~~ button { - exec kill -USR1 1 ; +SUBSYSTEM == button { + exec kill -USR1 1 }