From 2bc0037db05865fbbad9c8944606f6c771e1b8c3 Mon Sep 17 00:00:00 2001 From: ViktorJp <97465574+ViktorJp@users.noreply.github.com> Date: Fri, 3 May 2024 09:36:23 -0400 Subject: [PATCH 1/2] Update tailmon.sh --- tailmon.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tailmon.sh b/tailmon.sh index e73670c..2a627f2 100644 --- a/tailmon.sh +++ b/tailmon.sh @@ -401,10 +401,9 @@ uninstallts() rm -f /opt/var/tailscaled.state >/dev/null 2>&1 rm -r /opt/var/lib/tailscale >/dev/null 2>&1 + rm -r /opt/var/run/tailscale >/dev/null 2>&1 rm -r /var/run/tailscale >/dev/null 2>&1 rm -r /var/lib/tailscale >/dev/null 2>&1 - rm -r /opt/var/run/tailscale >/dev/null 2>&1 - rm -r /opt/var/lib/tailscale >/dev/null 2>&1 echo -e "$(date +'%b %d %Y %X') $($timeoutcmd$timeoutsec nvram get lan_hostname) TAILMON[$$] - INFO: Tailscale files and folders removed." >> $logfile echo "" @@ -2092,10 +2091,9 @@ while true; do opkg remove tailscale rm -f /opt/var/tailscaled.state >/dev/null 2>&1 rm -r /opt/var/lib/tailscale >/dev/null 2>&1 + rm -r /opt/var/run/tailscale >/dev/null 2>&1 rm -r /var/run/tailscale >/dev/null 2>&1 rm -r /var/lib/tailscale >/dev/null 2>&1 - rm -r /opt/var/run/tailscale >/dev/null 2>&1 - rm -r /opt/var/lib/tailscale >/dev/null 2>&1 echo "" read -rsp $'Press any key to continue...\n' -n1 key echo "" From 7a325b5644d71b83e7688889e4a0a05443b50a9b Mon Sep 17 00:00:00 2001 From: ViktorJp <97465574+ViktorJp@users.noreply.github.com> Date: Fri, 3 May 2024 09:36:36 -0400 Subject: [PATCH 2/2] Update tailmon-1.0.8.sh --- tailmon-1.0.8.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tailmon-1.0.8.sh b/tailmon-1.0.8.sh index e73670c..2a627f2 100644 --- a/tailmon-1.0.8.sh +++ b/tailmon-1.0.8.sh @@ -401,10 +401,9 @@ uninstallts() rm -f /opt/var/tailscaled.state >/dev/null 2>&1 rm -r /opt/var/lib/tailscale >/dev/null 2>&1 + rm -r /opt/var/run/tailscale >/dev/null 2>&1 rm -r /var/run/tailscale >/dev/null 2>&1 rm -r /var/lib/tailscale >/dev/null 2>&1 - rm -r /opt/var/run/tailscale >/dev/null 2>&1 - rm -r /opt/var/lib/tailscale >/dev/null 2>&1 echo -e "$(date +'%b %d %Y %X') $($timeoutcmd$timeoutsec nvram get lan_hostname) TAILMON[$$] - INFO: Tailscale files and folders removed." >> $logfile echo "" @@ -2092,10 +2091,9 @@ while true; do opkg remove tailscale rm -f /opt/var/tailscaled.state >/dev/null 2>&1 rm -r /opt/var/lib/tailscale >/dev/null 2>&1 + rm -r /opt/var/run/tailscale >/dev/null 2>&1 rm -r /var/run/tailscale >/dev/null 2>&1 rm -r /var/lib/tailscale >/dev/null 2>&1 - rm -r /opt/var/run/tailscale >/dev/null 2>&1 - rm -r /opt/var/lib/tailscale >/dev/null 2>&1 echo "" read -rsp $'Press any key to continue...\n' -n1 key echo ""