Skip to content
This repository was archived by the owner on Aug 22, 2021. It is now read-only.

Commit be1c2a5

Browse files
committed
remove crontab when rm v2ray
1 parent 8109ba4 commit be1c2a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/rm_v2script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ ${sudoCmd} ${systemPackage} install curl -y -qq
5757
curl -sSL https://install.direct/go.sh | ${sudoCmd} bash -s -- --remove
5858
${sudoCmd} rm -rf /etc/v2ray
5959
${sudoCmd} deluser v2ray
60+
${sudoCmd} crontab -l | grep -v 'geoip.dat' | ${sudoCmd} crontab
61+
${sudoCmd} crontab -l | grep -v 'geosite.dat' | ${sudoCmd} crontab
6062

6163
# remove tls-shunt-server
6264
colorEcho ${BLUE} "Shutting down tls-shunt-proxy service."

0 commit comments

Comments
 (0)