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>
5 lines
139 B
Text
5 lines
139 B
Text
"")
|
|
[ -d /var/run/nut ] && [ ! -f /var/run/nut/disable-hotplug ] && \
|
|
/etc/init.d/nut-server enabled && perform_libhid_action
|
|
;;
|
|
esac
|