From 3491b318de33616a4d5dc9ea8b6dad18ba6328bf Mon Sep 17 00:00:00 2001 From: desertwitch <24509509+desertwitch@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:55:31 +0200 Subject: [PATCH] don't clean folders before install, breaks things --- plugin/nut-2.8.0.plg | 11 +++++++---- plugin/nut.plg | 4 ---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/plugin/nut-2.8.0.plg b/plugin/nut-2.8.0.plg index ae9e40ad..1e36ebef 100644 --- a/plugin/nut-2.8.0.plg +++ b/plugin/nut-2.8.0.plg @@ -36,6 +36,12 @@ - add: implement battery replacement notification in settings Thanks to forum member Rysz for the PR. +###2023.06.03 +- Add Small footer style thanks ich777 for the PR. +###2023.02.14 +-6.12 Dashboard support +-PHP8 fixes +-Refresh option. ###2022.03.20 -fix for filetree top level -update nut footer @@ -259,10 +265,6 @@ else /etc/rc.d/rc.nut stop 2>/dev/null fi - # start install always with fresh folders - rm -rf /etc/nut - rm -rf /etc/ups - # nut-2.7.4 and nut plugin expects: # Config: /etc/nut # Pid : /var/run/nut/upsmon.pid @@ -344,6 +346,7 @@ rm -rf /var/run/nut # in case of re-installation of package on live system rm -rf /etc/nut rm -rf /etc/ups +rm -rf /var/run/nut echo "" echo "-----------------------------------------------------------" diff --git a/plugin/nut.plg b/plugin/nut.plg index 8615520a..5364a05b 100755 --- a/plugin/nut.plg +++ b/plugin/nut.plg @@ -253,10 +253,6 @@ else /etc/rc.d/rc.nut stop 2>/dev/null fi - # start install always with fresh folders - rm -rf /etc/nut - rm -rf /etc/ups - # upgrade plugin package upgradepkg --install-new &plgPATH;/&plgNAME;.txz