In message: <[email protected]>
Hans Petter Selasky <[email protected]> writes:
: In the [was configure-] thread you can attach things synchronously. In the
: case of network adapters you should not rely on the device_attach() event
: from devd to do something, but rather the event from if_attach(), if such
: exits.
#
# Configure the interface on attach. Due to a historical accident, this
# script is called pccard_ether.
#
notify 0 {
match "system" "IFNET";
match "type" "ATTACH";
action "/etc/pccard_ether $subsystem start";
};
notify 0 {
match "system" "IFNET";
match "type" "DETACH";
action "/etc/pccard_ether $subsystem stop";
};
Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"