Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177425430
D56927.1794351302.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
807 B
Referenced Files
None
Subscribers
None
D56927.1794351302.diff
View Options
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -46,6 +46,10 @@
HYPERVPACKAGE= hyperv-tools
.endif
+.if ${MK_INET6_SUPPORT} != "no"
+DEVD+= rtsol.conf
+.endif
+
CONFGROUPS+= NVME
NVMEDIR= ${DEVDDIR}
NVME+= nvmf.conf
diff --git a/sbin/devd/rtsol.conf b/sbin/devd/rtsol.conf
new file mode 100644
--- /dev/null
+++ b/sbin/devd/rtsol.conf
@@ -0,0 +1,17 @@
+#
+# Run rtsol(8) on Ethernet-like interfaces when the link comes up.
+# No action is taken on LINK_DOWN events.
+#
+notify 0 {
+ match "system" "IFNET";
+ match "type" "LINK_UP";
+ media-type "ethernet";
+ action "/sbin/rtsol -i $subsystem";
+};
+
+notify 0 {
+ match "system" "IFNET";
+ match "type" "LINK_UP";
+ media-type "802.11";
+ action "/sbin/rtsol -i $subsystem";
+};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 10, 10:55 PM (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41648440
Default Alt Text
D56927.1794351302.diff (807 B)
Attached To
Mode
D56927: rtsol: Trigger from devd(8) on media connection
Attached
Detach File
Event Timeline