| Summary: | sys-power/nut should install hotplug scripts when using usb | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Ebuild patch | ||
|
Description
Diego Elio Pettenò (RETIRED)
2006-05-19 17:16:22 UTC
Created attachment 87091 [details, diff]
Ebuild patch
Please read the documentation. scripts/hotplug is deprecated, and the udev rules from scripts/hotplug-ng/ are used instead. Uh well a part udev not working for me (sigh, it's not the first time anyway), would it be possible to install it only when udev is not installed?
if ! has_version sys-fs/udev; then
insinto /etc/hotplug/usb
doins blabla
fi
?
It would be simpler to me to write a hotplug-workalike for FreeBSD rather than a udev-workalike ;)
flameeyes: does the script at hotplug-ng/nut-usbups.hotplug work in FreeBSD? If so, that is the one I will use. in cvs. |