Add a start section in glorytun-setup
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
1 parent
75b2903ac2
commit
19eea3e96d
1 file changed
+7
-1
@@ -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
|
||||
Reference in new issue
Block a user