mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2025-12-19 22:08:06 +03:00
Add files via upload
This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
URL="https://raw.githubusercontent.com/CodeRoK7/RouterichAX3000_configs/refs/heads/main"
|
URL="https://raw.githubusercontent.com/CodeRoK7/RouterichAX3000_configs/refs/heads/main"
|
||||||
DIR="/root"
|
DIR="/etc/config"
|
||||||
DIR_BACKUP="/root/backup"
|
DIR_BACKUP="/root/backup"
|
||||||
config_files="dhcp
|
config_files="dhcp
|
||||||
youtubeUnblock
|
youtubeUnblock
|
||||||
https-dns-proxy"
|
https-dns-proxy"
|
||||||
|
|
||||||
config_backup="dhcp_backup
|
|
||||||
youtubeUnblock_backup
|
|
||||||
https-dns-proxy_backup"
|
|
||||||
|
|
||||||
|
mkdir $DIR_BACKUP
|
||||||
|
|
||||||
for file in $config_files
|
for file in $config_files
|
||||||
do
|
do
|
||||||
@@ -20,4 +18,9 @@ done
|
|||||||
for file in $config_files
|
for file in $config_files
|
||||||
do
|
do
|
||||||
wget -O "$DIR/$file" "$URL/$file"
|
wget -O "$DIR/$file" "$URL/$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
service youtubeUnblock restart
|
||||||
|
service https-dns-proxy restart
|
||||||
|
service dnsmasq restart
|
||||||
20
off_configure_zaprets.sh
Normal file
20
off_configure_zaprets.sh
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
URL="https://raw.githubusercontent.com/CodeRoK7/RouterichAX3000_configs/refs/heads/main"
|
||||||
|
DIR="/etc/config"
|
||||||
|
DIR_BACKUP="/root/backup"
|
||||||
|
config_files="dhcp
|
||||||
|
youtubeUnblock
|
||||||
|
https-dns-proxy"
|
||||||
|
|
||||||
|
|
||||||
|
mkdir $DIR_BACKUP
|
||||||
|
|
||||||
|
for file in $config_files
|
||||||
|
do
|
||||||
|
cp -f "$DIR_BACKUP/$file" "$DIR/$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
service youtubeUnblock restart
|
||||||
|
service https-dns-proxy restart
|
||||||
|
service dnsmasq restart
|
||||||
Reference in New Issue
Block a user