use the right hotplug2 invocation for initramfs
[openwrt-10.03/.git] / package / base-files / files / etc / hotplug2-init.rules
index 6efd5466891c1023673674af2fa50aaad92f65c5..429cdbbe162d7ea28b67ec6c7e9b09ba0a2bc5dd 100644 (file)
@@ -1,9 +1,5 @@
-DEVICENAME ~~ (tun|tap[0-9]) {
-       makedev /dev/net/%DEVICENAME% 0644
-       next
-}
+$include /etc/hotplug2-common.rules
 
-DEVPATH is set {
-       makedev /dev/%DEVICENAME% 0644
+SUBSYSTEM ~~ button {
+       exec kill -USR1 1 ;
 }
-