projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
base_files: Remove . from end of localhost entry
[openwrt.git]
/
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
3a9f4c5
..
5221457
100644
(file)
--- a/
package/base-files/files/etc/hotplug2-common.rules
+++ b/
package/base-files/files/etc/hotplug2-common.rules
@@
-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
nothrottle
makedev /dev/%DEVICENAME% 0666
next
@@
-8,7
+14,6
@@
DEVICENAME ~~ (null|full|ptmx|tty|zero|gpio) {
DEVICENAME ~~ (tun|tap[0-9]) {
nothrottle
makedev /dev/net/%DEVICENAME% 0644
DEVICENAME ~~ (tun|tap[0-9]) {
nothrottle
makedev /dev/net/%DEVICENAME% 0644
- next
}
DEVICENAME ~~ (ppp) {
}
DEVICENAME ~~ (ppp) {
@@
-23,18
+28,30
@@
DEVICENAME ~~ (controlC[0-9]|pcmC0D0*|timer) {
next
}
next
}
+DEVICENAME ~~ (lp[0-9]) {
+ nothrottle
+ makedev /dev/%DEVICENAME% 0644
+ next
+}
+
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644
}
DEVPATH is set, SUBSYSTEM ~~ (input) {
nothrottle
makedev /dev/input/%DEVICENAME% 0644
}
+DEVICENAME == device-mapper {
+ nothrottle
+ makedev /dev/mapper/control 0600
+}
+
+
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644
}
DEVPATH is set {
nothrottle
makedev /dev/%DEVICENAME% 0644
}
-FIRMWARE is set {
+FIRMWARE is set
, ACTION == add
{
nothrottle
nothrottle
-
exec /sbin/hotplug-call
firmware
+
load-firmware /lib/
firmware
next
}
next
}
This page took
0.028895 seconds
and
4
git commands to generate.