Lines 58-64
notify 0 {
Link Here
|
58 |
match "system" "IFNET"; |
58 |
match "system" "IFNET"; |
59 |
match "type" "LINK_UP"; |
59 |
match "type" "LINK_UP"; |
60 |
media-type "ethernet"; |
60 |
media-type "ethernet"; |
61 |
action "service dhclient quietstart $subsystem"; |
61 |
action "service -L dhclient quietstart $subsystem"; |
62 |
}; |
62 |
}; |
63 |
|
63 |
|
64 |
# |
64 |
# |
Lines 77-83
notify 0 {
Link Here
|
77 |
match "system" "IFNET"; |
77 |
match "system" "IFNET"; |
78 |
match "type" "LINK_UP"; |
78 |
match "type" "LINK_UP"; |
79 |
media-type "802.11"; |
79 |
media-type "802.11"; |
80 |
action "service dhclient quietstart $subsystem"; |
80 |
action "service -L dhclient quietstart $subsystem"; |
81 |
}; |
81 |
}; |
82 |
|
82 |
|
83 |
# An entry like this might be in a different file, but is included here |
83 |
# An entry like this might be in a different file, but is included here |
Lines 95-105
detach 100 {
Link Here
|
95 |
# When a USB Bluetooth dongle appears, activate it |
95 |
# When a USB Bluetooth dongle appears, activate it |
96 |
attach 100 { |
96 |
attach 100 { |
97 |
device-name "ubt[0-9]+"; |
97 |
device-name "ubt[0-9]+"; |
98 |
action "service bluetooth quietstart $device-name"; |
98 |
action "service -L bluetooth quietstart $device-name"; |
99 |
}; |
99 |
}; |
100 |
detach 100 { |
100 |
detach 100 { |
101 |
device-name "ubt[0-9]+"; |
101 |
device-name "ubt[0-9]+"; |
102 |
action "service bluetooth quietstop $device-name"; |
102 |
action "service -L bluetooth quietstop $device-name"; |
103 |
}; |
103 |
}; |
104 |
|
104 |
|
105 |
# Firmware downloader for Atheros AR3011 based USB Bluetooth devices |
105 |
# Firmware downloader for Atheros AR3011 based USB Bluetooth devices |
Lines 112-122
detach 100 {
Link Here
|
112 |
# When a USB keyboard arrives, attach it as the console keyboard. |
112 |
# When a USB keyboard arrives, attach it as the console keyboard. |
113 |
attach 100 { |
113 |
attach 100 { |
114 |
device-name "ukbd0"; |
114 |
device-name "ukbd0"; |
115 |
action "service syscons setkeyboard /dev/ukbd0"; |
115 |
action "service -L syscons setkeyboard /dev/ukbd0"; |
116 |
}; |
116 |
}; |
117 |
detach 100 { |
117 |
detach 100 { |
118 |
device-name "ukbd0"; |
118 |
device-name "ukbd0"; |
119 |
action "service syscons setkeyboard /dev/kbd0"; |
119 |
action "service -L syscons setkeyboard /dev/kbd0"; |
120 |
}; |
120 |
}; |
121 |
|
121 |
|
122 |
notify 100 { |
122 |
notify 100 { |
Lines 125-131
notify 100 {
Link Here
|
125 |
match "type" "CREATE"; |
125 |
match "type" "CREATE"; |
126 |
match "cdev" "atp[0-9]+"; |
126 |
match "cdev" "atp[0-9]+"; |
127 |
|
127 |
|
128 |
action "service moused quietstart $cdev"; |
128 |
action "service -L moused quietstart $cdev"; |
129 |
}; |
129 |
}; |
130 |
|
130 |
|
131 |
notify 100 { |
131 |
notify 100 { |
Lines 134-140
notify 100 {
Link Here
|
134 |
match "type" "CREATE"; |
134 |
match "type" "CREATE"; |
135 |
match "cdev" "ums[0-9]+"; |
135 |
match "cdev" "ums[0-9]+"; |
136 |
|
136 |
|
137 |
action "service moused quietstart $cdev"; |
137 |
action "service -L moused quietstart $cdev"; |
138 |
}; |
138 |
}; |
139 |
|
139 |
|
140 |
notify 100 { |
140 |
notify 100 { |
Lines 143-149
notify 100 {
Link Here
|
143 |
match "type" "CREATE"; |
143 |
match "type" "CREATE"; |
144 |
match "cdev" "wsp[0-9]+"; |
144 |
match "cdev" "wsp[0-9]+"; |
145 |
|
145 |
|
146 |
action "service moused quietstart $cdev"; |
146 |
action "service -L moused quietstart $cdev"; |
147 |
}; |
147 |
}; |
148 |
|
148 |
|
149 |
notify 100 { |
149 |
notify 100 { |
Lines 152-158
notify 100 {
Link Here
|
152 |
match "type" "DESTROY"; |
152 |
match "type" "DESTROY"; |
153 |
match "cdev" "ums[0-9]+"; |
153 |
match "cdev" "ums[0-9]+"; |
154 |
|
154 |
|
155 |
action "service moused stop $cdev"; |
155 |
action "service -L moused stop $cdev"; |
156 |
}; |
156 |
}; |
157 |
|
157 |
|
158 |
# This entry starts the ColdSync tool in daemon mode. Make sure you have an up |
158 |
# This entry starts the ColdSync tool in daemon mode. Make sure you have an up |
Lines 219-225
nomatch 10 {
Link Here
|
219 |
notify 10 { |
219 |
notify 10 { |
220 |
match "system" "ACPI"; |
220 |
match "system" "ACPI"; |
221 |
match "subsystem" "ACAD"; |
221 |
match "subsystem" "ACAD"; |
222 |
action "service power_profile $notify"; |
222 |
action "service -L power_profile $notify"; |
223 |
}; |
223 |
}; |
224 |
|
224 |
|
225 |
# Notify all users before beginning emergency shutdown when we get |
225 |
# Notify all users before beginning emergency shutdown when we get |
Lines 300-306
notify 10 {
Link Here
|
300 |
notify 0 { |
300 |
notify 0 { |
301 |
match "system" "RCTL"; |
301 |
match "system" "RCTL"; |
302 |
match "rule" "user:770:swap:.*"; |
302 |
match "rule" "user:770:swap:.*"; |
303 |
action "service postgresql restart"; |
303 |
action "service -L postgresql restart"; |
304 |
}; |
304 |
}; |
305 |
|
305 |
|
306 |
# Discard autofs caches, useful for the -media special map. |
306 |
# Discard autofs caches, useful for the -media special map. |