runs, but need to remove resolvectl command

This commit is contained in:
afeiszli
2021-09-28 18:24:10 -04:00
parent 99c8c6b31d
commit 5d786740d7
4 changed files with 52 additions and 3 deletions

13
scripts/netclient.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
echo "[netclient] joining network"
/etc/netclient/netclient join -t $NETCLIENT_ACCESSTOKEN -daemon off -dnson no
echo "[netclient] Starting netclient checkin"
# loop and call checkin -n all
while [ 1 ]; do
# add logs to netclient.logs
/etc/netclient/netclient checkin -n all
sleep $SLEEP
done
echo "[netclient] exiting"