X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/98f8e418493bfd412ac616f9965ce69e1eb6f4fa..e3efdd6ac77f8b36755990502656b12634fcc2ba:/package/base-files/files/etc/hotplug2-common.rules diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules index bb76667bb..5221457a5 100644 --- a/package/base-files/files/etc/hotplug2-common.rules +++ b/package/base-files/files/etc/hotplug2-common.rules @@ -1,4 +1,10 @@ +# uncomment me to log hotplug events +# DEVPATH is set { +# nothrottle +# exec logger -s -t hotplug -p daemon.info "name=%DEVICENAME%, path=%DEVPATH%" +# } + DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) { nothrottle makedev /dev/%DEVICENAME% 0666 @@ -8,7 +14,6 @@ DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio|hvc) { DEVICENAME ~~ (tun|tap[0-9]) { nothrottle makedev /dev/net/%DEVICENAME% 0644 - next } DEVICENAME ~~ (ppp) {