X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3462ef2525e7e3a26bf3784abe698d58ea446b85..39ab13caff737bf2b582ba7d16610d4805474f31:/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 }