[package] option to allow boot to run to completion before starting shell
[openwrt.git] / package / base-files / files / etc / hotplug2-common.rules
index a7aba35..96a4731 100644 (file)
@@ -1,5 +1,11 @@
 
-DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
+# 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
        next
@@ -35,8 +41,8 @@ DEVPATH is set, SUBSYSTEM ~~ (input) {
 }
 
 DEVICENAME == device-mapper {
-       nothrottle
-       makedev /dev/mapper/control 0600
+       nothrottle
+       makedev /dev/mapper/control 0600
 }
 
 
@@ -45,8 +51,8 @@ DEVPATH is set {
        makedev /dev/%DEVICENAME% 0644
 }
 
-FIRMWARE is set {
+FIRMWARE is set, ACTION == add {
        nothrottle
-       exec /sbin/hotplug-call firmware
+       load-firmware /lib/firmware
        next
 }
This page took 0.02534 seconds and 4 git commands to generate.