Add a start section in glorytun-setup

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2017-11-26 12:44:13 +00:00
parent 75b2903ac2
commit 19eea3e96d

View File

@@ -33,4 +33,10 @@ touch "$FILE.key"
chmod 600 "$FILE.key"
echo "$KEY" > "$FILE.key"
echo "Done"
_ask "Start glorytun now ? (enter to skip)" START
case "$START" in
y*|Y*)
systemctl restart systemd-networkd
systemctl start glorytun@"$NAME"
;;
esac