X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fetc%2Fhotplug2-init.rules;h=e7dd0add3b144ef35bf7001f0e591228784fc832;hb=ef1ac95fc4573a604d0f854fd87b7032aa517621;hp=bcc4c6a9ece2fe9b3be5615b0f69f62c442a38ae;hpb=af7fc344c8cd92797809eebf8b41d49c350111b9;p=openwrt-10.03%2F.git diff --git a/package/base-files/files/etc/hotplug2-init.rules b/package/base-files/files/etc/hotplug2-init.rules index bcc4c6a9e..e7dd0add3 100644 --- a/package/base-files/files/etc/hotplug2-init.rules +++ b/package/base-files/files/etc/hotplug2-init.rules @@ -1,34 +1,5 @@ - -DEVICENAME ~~ (null|full|ptmx|tty|zero) { - nothrottle - makedev /dev/%DEVICENAME% 0666 - next -} - -DEVICENAME ~~ (tun|tap[0-9]) { - nothrottle - makedev /dev/net/%DEVICENAME% 0644 - next -} - -DEVICENAME ~~ (ppp) { - nothrottle - makedev /dev/%DEVICENAME% 0600 - next -} - -DEVICENAME ~~ (controlC[0-9]|pcmC0D0*) { - nothrottle - makedev /dev/snd/%DEVICENAME% 0644 - next -} - -DEVPATH is set { - nothrottle - makedev /dev/%DEVICENAME% 0644 -} - +$include /etc/hotplug2-common.rules SUBSYSTEM ~~ button { - exec kill -USR1 1 ; + exec kill -USR1 1 }