add titles
This commit is contained in:
parent
731c03b417
commit
96e038650e
|
@ -96,7 +96,7 @@ TMP_FILE="/tmp/vhost-add-$(tr -dc "qwertQWERTasdfgASDFGzxcvbZXCVB" < /dev/urando
|
||||||
touch "$TMP_FILE"
|
touch "$TMP_FILE"
|
||||||
chmod 600 "$TMP_FILE"
|
chmod 600 "$TMP_FILE"
|
||||||
template summary > "$TMP_FILE"
|
template summary > "$TMP_FILE"
|
||||||
whiptail --textbox "$TMP_FILE" 25 80
|
whiptail --textbox "$TMP_FILE" --title "$TITLE - PREVIEW" 25 80
|
||||||
rm "$TMP_FILE"
|
rm "$TMP_FILE"
|
||||||
|
|
||||||
CONTINUE="$(form_yes_no -t "$TITLE" -l "Do you confirm?" -n)"
|
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"
|
touch "$TMP_FILE"
|
||||||
chmod 600 "$TMP_FILE"
|
chmod 600 "$TMP_FILE"
|
||||||
template result > "$TMP_FILE"
|
template result > "$TMP_FILE"
|
||||||
whiptail --textbox "$TMP_FILE" 25 80
|
whiptail --textbox "$TMP_FILE" --title "$TITLE - FINISH" 25 80
|
||||||
rm "$TMP_FILE"
|
rm "$TMP_FILE"
|
||||||
|
|
Loading…
Reference in a new issue