X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3462ef2525e7e3a26bf3784abe698d58ea446b85..de1bb6ef97ddd71db237578bd5f7ed8c5a61fb82:/package/base-files/files/etc/hotplug2-init.rules?ds=sidebyside 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 }