mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-01 14:18:46 +03:00
Delete cron task auto run script
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
URL_REPO="https://raw.githubusercontent.com/CodeRoK7/RouterichAX3000_configs"
|
||||||
DIR="/etc/config"
|
DIR="/etc/config"
|
||||||
DIR_BACKUP="/root/backup"
|
DIR_BACKUP="/root/backup"
|
||||||
config_files="dhcp
|
config_files="dhcp
|
||||||
@@ -20,4 +21,10 @@ service https-dns-proxy restart
|
|||||||
service dnsmasq restart
|
service dnsmasq restart
|
||||||
service odhcpd restart
|
service odhcpd restart
|
||||||
|
|
||||||
|
echo "Remove cron task auto run script configure zaprets.."
|
||||||
|
|
||||||
|
grep -v "0 4 \* \* \* wget -O - $URL_REPO/refs/heads/main/configure_zaprets.sh | sh" /etc/crontabs/root > /etc/crontabs/temp
|
||||||
|
cp -f "/etc/crontabs/temp" "/etc/crontabs/root"
|
||||||
|
rm -f "/etc/crontabs/temp"
|
||||||
|
|
||||||
echo "Off configure complete..."
|
echo "Off configure complete..."
|
||||||
|
|||||||
Reference in New Issue
Block a user