MycroftOS: Initial start of wifi-setup

This commit is contained in:
Peter Steenbergen 2018-11-01 10:24:32 +01:00
parent 1c01cb2b9d
commit 0619a03993
1 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,11 @@ start() {
mkdir /var/log/mycroft/
fi
fi
# Check for internet connectivity
if ping -q -c 1 -W 1 1.1.1.1 >/dev/null 2>&1 ; then
return 0
fi
}
case "$1" in
start)