mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
delete ptpb.pw since that it's down
This commit is contained in:
parent
09bc0e9edb
commit
e0067697af
2 changed files with 11 additions and 2 deletions
|
|
@ -6,7 +6,12 @@
|
|||
# Autor: Eduard Toloza
|
||||
|
||||
# Define variables
|
||||
services='Put here the service names that you want to restart if internet connection is not available, the services must be sepparated by spaces. Example: systemd-resolved systemd-networkd openvpn'
|
||||
services='systemd-networkd wpa_supplicant@wlp3s0 systemd-resolved randomvpn'
|
||||
|
||||
if [ "$1" == "f" ]; then
|
||||
sudo systemctl restart $services
|
||||
exit
|
||||
fi
|
||||
|
||||
#Check if ping command is available
|
||||
if command -v ping > /dev/null; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue