mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Remove unneded $
This commit is contained in:
parent
042ec11ee4
commit
7a7d442efc
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ ofile=/tmp/google.txt
|
|||
services='write here the name of the services separated by spaces, example: systemd-networkd systemd-resolved wicd network-manager'
|
||||
|
||||
#Check if wget is installed
|
||||
if command -v wget $> /dev/null; then
|
||||
if command -v wget > /dev/null; then
|
||||
# Check internet connection and if not OK then restart all networking services
|
||||
echo "Testing your connection..."
|
||||
wget -q --tries=1 --timeout=1 https://google.com -O $ofile &> /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue