mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2025-01-09 13:12:22 +00:00
Fixing snowflake
This commit is contained in:
parent
1fcd786c0e
commit
66c027775b
|
@ -42,13 +42,6 @@ else
|
||||||
echo -e "⚠ User exited script \n"
|
echo -e "⚠ User exited script \n"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
function header_info {
|
|
||||||
echo -e "${RD}
|
|
||||||
|_ _|___ ___ | __|___ ___ _ _ _| _| |___| |_ ___
|
|
||||||
| | | . | _| |__ | | . | | | | _| | .'| '_| -_|
|
|
||||||
|_| |___|_| |_____|_|_|___|_____|_| |_|__,|_,_|___|
|
|
||||||
${CL}"
|
|
||||||
}
|
|
||||||
function msg_info() {
|
function msg_info() {
|
||||||
local msg="$1"
|
local msg="$1"
|
||||||
echo -ne " ${HOLD} ${YW}${msg}..."
|
echo -ne " ${HOLD} ${YW}${msg}..."
|
||||||
|
@ -189,18 +182,15 @@ if (whiptail --title "ADVANCED SETTINGS COMPLETE" --yesno "Ready to create ${APP
|
||||||
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
|
echo -e "${RD}Creating a ${APP} LXC using the above advanced settings${CL}"
|
||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
header_info
|
|
||||||
echo -e "${RD}Using Advanced Settings${CL}"
|
echo -e "${RD}Using Advanced Settings${CL}"
|
||||||
advanced_settings
|
advanced_settings
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
function start_script() {
|
function start_script() {
|
||||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||||
header_info
|
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
default_settings
|
default_settings
|
||||||
else
|
else
|
||||||
header_info
|
|
||||||
echo -e "${RD}Using Advanced Settings${CL}"
|
echo -e "${RD}Using Advanced Settings${CL}"
|
||||||
advanced_settings
|
advanced_settings
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue