Thanks-To: Elie Brami <elie.brami@epita.fr>
This commit is contained in:
nemunaire 2022-04-21 13:46:20 +02:00
parent 6ac58634b8
commit 41cbf74c48

View File

@ -780,7 +780,7 @@ files:
- path: /usr/sbin/join-maatma - path: /usr/sbin/join-maatma
contents: | contents: |
#!/bin/sh #!/bin/sh
[ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it it you continue." [ -s "/var/lib/adlin/wireguard/adlin.token" ] && echo "A token is already defined. You'll erase it if you continue."
echo -n "Please copy your token here: " echo -n "Please copy your token here: "
read WGTOKEN read WGTOKEN
mkdir -p /var/lib/adlin/wireguard/ mkdir -p /var/lib/adlin/wireguard/