mirror of
https://github.com/novatiq/packages.git
synced 2026-07-26 13:36:15 +01:00
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>
6 lines
139 B
Plaintext
6 lines
139 B
Plaintext
"")
|
|
[ -d /var/run/nut ] && [ ! -f /var/run/nut/disable-hotplug ] && \
|
|
/etc/init.d/nut-server enabled && perform_libhid_action
|
|
;;
|
|
esac
|