Browse Source

add titles

master
Simon Vieille 3 months ago
parent
commit
96e038650e
Signed by: Simon Vieille <simon@deblan.fr> GPG Key ID: 03383D15A1D31745
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      bin/vhost-add

+ 2
- 2
bin/vhost-add View File

@@ -96,7 +96,7 @@ TMP_FILE="/tmp/vhost-add-$(tr -dc "qwertQWERTasdfgASDFGzxcvbZXCVB" < /dev/urando
touch "$TMP_FILE"
chmod 600 "$TMP_FILE"
template summary > "$TMP_FILE"
whiptail --textbox "$TMP_FILE" 25 80
whiptail --textbox "$TMP_FILE" --title "$TITLE - PREVIEW" 25 80
rm "$TMP_FILE"

CONTINUE="$(form_yes_no -t "$TITLE" -l "Do you confirm?" -n)"
@@ -166,5 +166,5 @@ TMP_FILE="/tmp/vhost-add-$(tr -dc "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS
touch "$TMP_FILE"
chmod 600 "$TMP_FILE"
template result > "$TMP_FILE"
whiptail --textbox "$TMP_FILE" 25 80
whiptail --textbox "$TMP_FILE" --title "$TITLE - FINISH" 25 80
rm "$TMP_FILE"

Loading…
Cancel
Save