remove disks event
This commit is contained in:
parent
0540297384
commit
ebe5c79b68
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
cfg=/boot/config/plugins/nut/nut.cfg
|
|
||||||
|
|
||||||
# Daemon already running or no custom file?
|
|
||||||
[[ -f /var/run/upsmon.pid || ! -f $cfg ]] && exit
|
|
||||||
|
|
||||||
# Read settings
|
|
||||||
source $cfg
|
|
||||||
|
|
||||||
# Start daemon
|
|
||||||
[[ $SERVICE == enable ]] && /usr/local/emhttp/plugins/nut/scripts/rc.nut start
|
|
Loading…
Reference in New Issue
Block a user