diff --git a/tuto3.yml b/tuto3.yml index 4672b9d..789b20c 100644 --- a/tuto3.yml +++ b/tuto3.yml @@ -479,7 +479,8 @@ files: - path: /usr/sbin/join-p0m contents: | - [ -f "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it you continue." + #!/bin/sh + [ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it you continue." echo -n "Please copy your token here: " read WGTOKEN mkdir -p /var/lib/adlin/wireguard/