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