mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
nut: Add USB hotplug support
usbhid-ups has the necessary information in the source, so let's support USB hotplugging out of the box. Takes advantage of the procd support now in nut-server initscript. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
"")
|
||||
[ -d /var/run/nut ] && [ ! -f /var/run/nut/disable-hotplug ] && \
|
||||
/etc/init.d/nut-server enabled && perform_libhid_action
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user