Skip to content

Commit

Permalink
Merge pull request #24 from ViktorJp/develop
Browse files Browse the repository at this point in the history
Patch v1.0.8 v2
  • Loading branch information
ViktorJp authored May 3, 2024
2 parents 0e1b69b + 7a325b5 commit 6f86280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions tailmon-1.0.8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down
6 changes: 2 additions & 4 deletions tailmon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand Down Expand Up @@ -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 ""
Expand Down

0 comments on commit 6f86280

Please sign in to comment.