mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
runs, but need to remove resolvectl command
This commit is contained in:
13
scripts/netclient.sh
Executable file
13
scripts/netclient.sh
Executable 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"
|
Reference in New Issue
Block a user