mirror of
https://github.com/routerich/RouterichAX3000_configs.git
synced 2026-01-27 12:40:35 +03:00
24 lines
384 B
Bash
24 lines
384 B
Bash
#!/bin/sh
|
|
|
|
DIR="/etc/config"
|
|
DIR_BACKUP="/root/backup"
|
|
config_files="dhcp
|
|
youtubeUnblock
|
|
https-dns-proxy"
|
|
|
|
echo "Restore configs..."
|
|
|
|
for file in $config_files
|
|
do
|
|
cp -f "$DIR_BACKUP/$file" "$DIR/$file"
|
|
done
|
|
|
|
echo "Restart service..."
|
|
|
|
service youtubeUnblock restart
|
|
service https-dns-proxy restart
|
|
service dnsmasq restart
|
|
service odhcpd restart
|
|
|
|
echo "Off configure complete..."
|