From ebe5c79b683764521d7a5e8ab303cd2170a9ddf5 Mon Sep 17 00:00:00 2001 From: dmacias72 Date: Fri, 28 Apr 2017 20:19:04 -0600 Subject: [PATCH] remove disks event --- .../usr/local/emhttp/plugins/nut/event/disks_mounted | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 source/nut/usr/local/emhttp/plugins/nut/event/disks_mounted diff --git a/source/nut/usr/local/emhttp/plugins/nut/event/disks_mounted b/source/nut/usr/local/emhttp/plugins/nut/event/disks_mounted deleted file mode 100755 index 78e573e0..00000000 --- a/source/nut/usr/local/emhttp/plugins/nut/event/disks_mounted +++ /dev/null @@ -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