mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-27 12:40:35 +03:00
Delete cron task auto run script
This commit is contained in:
@@ -342,6 +342,10 @@ printf "\033[32;1mStop and disabled service 'youtubeUnblock' and 'ruantiblock'.
|
|||||||
manage_package "youtubeUnblock" "disable" "stop"
|
manage_package "youtubeUnblock" "disable" "stop"
|
||||||
manage_package "ruantiblock" "disable" "stop"
|
manage_package "ruantiblock" "disable" "stop"
|
||||||
|
|
||||||
|
grep -v "0 4 \* \* \* wget -O - $URL/configure_zaprets.sh | sh" /etc/crontabs/root > /etc/crontabs/temp
|
||||||
|
cp -f "/etc/crontabs/temp" "/etc/crontabs/root"
|
||||||
|
rm -f "/etc/crontabs/temp"
|
||||||
|
|
||||||
printf "\033[32;1mRestart firewall and network...\033[0m\n"
|
printf "\033[32;1mRestart firewall and network...\033[0m\n"
|
||||||
service firewall restart
|
service firewall restart
|
||||||
service network restart
|
service network restart
|
||||||
|
|||||||
Reference in New Issue
Block a user