Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115109989
D38294.id116108.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D38294.id116108.diff
View Options
diff --git a/sbin/devd/devd.conf b/sbin/devd/devd.conf
--- a/sbin/devd/devd.conf
+++ b/sbin/devd/devd.conf
@@ -53,8 +53,8 @@
notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
- media-type "ethernet";
- action "service dhclient quietstart $subsystem";
+ media-type` "ethernet";
+ action "service -x dhclient quietstart $subsystem";
};
#
@@ -73,7 +73,7 @@
match "system" "IFNET";
match "type" "LINK_UP";
media-type "802.11";
- action "service dhclient quietstart $subsystem";
+ action "service -x dhclient quietstart $subsystem";
};
# An entry like this might be in a different file, but is included here
@@ -91,11 +91,11 @@
# When a USB Bluetooth dongle appears, activate it
attach 100 {
device-name "ubt[0-9]+";
- action "service bluetooth quietstart $device-name";
+ action "service -x bluetooth quietstart $device-name";
};
detach 100 {
device-name "ubt[0-9]+";
- action "service bluetooth quietstop $device-name";
+ action "service -x bluetooth quietstop $device-name";
};
# Firmware downloader for Atheros AR3011 based USB Bluetooth devices
@@ -108,11 +108,11 @@
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
- action "service syscons setkeyboard /dev/ukbd0";
+ action "service -x syscons setkeyboard /dev/ukbd0";
};
detach 100 {
device-name "ukbd0";
- action "service syscons setkeyboard /dev/kbd0";
+ action "service -x syscons setkeyboard /dev/kbd0";
};
notify 100 {
@@ -121,7 +121,7 @@
match "type" "CREATE";
match "cdev" "atp[0-9]+";
- action "service moused quietstart $cdev";
+ action "service -x moused quietstart $cdev";
};
notify 100 {
@@ -130,7 +130,7 @@
match "type" "CREATE";
match "cdev" "ums[0-9]+";
- action "service moused quietstart $cdev";
+ action "service -x moused quietstart $cdev";
};
notify 100 {
@@ -139,7 +139,7 @@
match "type" "CREATE";
match "cdev" "wsp[0-9]+";
- action "service moused quietstart $cdev";
+ action "service -x moused quietstart $cdev";
};
notify 100 {
@@ -148,7 +148,7 @@
match "type" "DESTROY";
match "cdev" "ums[0-9]+";
- action "service moused stop $cdev";
+ action "service -x moused stop $cdev";
};
# Don't even try to second guess what to do about drivers that don't
@@ -178,7 +178,7 @@
notify 10 {
match "system" "ACPI";
match "subsystem" "ACAD";
- action "service power_profile $notify";
+ action "service -x power_profile $notify";
};
# Notify all users before beginning emergency shutdown when we get
@@ -239,7 +239,7 @@
notify 0 {
match "system" "RCTL";
match "rule" "user:770:swap:.*";
- action "service postgresql restart";
+ action "service -x postgresql restart";
};
# Discard autofs caches, useful for the -media special map.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 21, 1:30 PM (4 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17674325
Default Alt Text
D38294.id116108.diff (2 KB)
Attached To
Mode
D38294: devd: Use service -x
Attached
Detach File
Event Timeline
Log In to Comment