The mechanism for making sure hotplug doesn't execute during forced shutdown was interfering with initial start of hotplug script due to checking for path that doesn't exist at initial start. This fixes that and closes #6966. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
5 lines
115 B
Text
5 lines
115 B
Text
"")
|
|
[ ! -f /var/run/nut/disable-hotplug ] && \
|
|
/etc/init.d/nut-server enabled && perform_libhid_action
|
|
;;
|
|
esac
|