blob: d64f3f902385c11cd4d4eeed2af3582d5e057f4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
Index: fbsd-6.1/etc/devd.conf
===================================================================
--- fbsd-6.1.orig/etc/devd.conf
+++ fbsd-6.1/etc/devd.conf
@@ -51,7 +51,7 @@ notify 0 {
match "system" "IFNET";
match "type" "LINK_UP";
media-type "ethernet";
- action "/etc/rc.d/dhclient start $subsystem";
+ action "/etc/init.d/net.$subsystem start"
};
#
@@ -80,38 +80,39 @@ notify 0 {
# hard wired to 1.2.3.4.
attach 100 {
device-name "ed50";
- action "ifconfig $device-name inet 1.2.3.4 netmask 0xffff0000";
+ action "/etc/init.d/net.ed50 start"
};
detach 100 {
device-name "ed50";
+ action "/etc/init.d/net.ed50 stop"
};
# When a USB Bluetooth dongle appears activate it
-attach 100 {
- device-name "ubt[0-9]+";
- action "/etc/rc.d/bluetooth start $device-name";
-};
-detach 100 {
- device-name "ubt[0-9]+";
- action "/etc/rc.d/bluetooth stop $device-name";
-};
+#attach 100 {
+# device-name "ubt[0-9]+";
+# action "/etc/rc.d/bluetooth start $device-name";
+#};
+#detach 100 {
+# device-name "ubt[0-9]+";
+# action "/etc/rc.d/bluetooth stop $device-name";
+#};
# When a USB keyboard arrives, attach it as the console keyboard.
attach 100 {
device-name "ukbd0";
- action "/etc/rc.d/syscons setkeyboard /dev/ukbd0";
+ action "kbdcontrol -k /dev/ukbd0 < /dev/console";
};
detach 100 {
device-name "ukbd0";
- action "/etc/rc.d/syscons setkeyboard /dev/kbd0";
+ action "kbdcontrol -k /dev/kbd0 < /dev/console"
};
# The entry below starts moused when a mouse is plugged in. Moused
# stops automatically (actually it bombs :) when the device disappears.
-attach 100 {
- device-name "ums[0-9]+";
- action "/etc/rc.d/moused start $device-name";
-};
+#attach 100 {
+# device-name "ums[0-9]+";
+# action "/etc/rc.d/moused start $device-name";
+#};
#
# Rescan scsi device-names on attach, but not detach. However, it is
@@ -133,7 +134,7 @@ nomatch 0 {
notify 10 {
match "system" "ACPI";
match "subsystem" "ACAD";
- action "/etc/rc.d/power_profile $notify";
+ action "/etc/init.d/powerd restart"
};
# Notify all users before beginning emergency shutdown when we get
|