Update install-dsmon.sh
This commit is contained in:
@@ -16,7 +16,10 @@ if [ -d "/opt/idssys/dsmon" ]; then
|
|||||||
echo -en "${idsCL[Yellow]}DiskSpace-Monitor is already installed, would you like to re-install (y/N)? ${idsCL[Default]}"
|
echo -en "${idsCL[Yellow]}DiskSpace-Monitor is already installed, would you like to re-install (y/N)? ${idsCL[Default]}"
|
||||||
read reinstall
|
read reinstall
|
||||||
case $reinstall in
|
case $reinstall in
|
||||||
[Yy]) uninstall=$(`bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/uninstall-dsmon.sh)`)>/dev/null 2>&1;;
|
[Yy])
|
||||||
|
rm -f /usr/local/bin/dsmon
|
||||||
|
rm -Rf /opt/idssys/dsmon
|
||||||
|
;;
|
||||||
*) EXIT1;;
|
*) EXIT1;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user