Config File
This commit is contained in:
parent
74bcd30ef3
commit
c3420494dd
@ -293,6 +293,7 @@ exit_script() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
write_config() {
|
write_config() {
|
||||||
|
mkdir -p /opt/community-scripts
|
||||||
# This function writes the configuration to a file.
|
# This function writes the configuration to a file.
|
||||||
if whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "Write configfile" --yesno "Do you want to write the selections to a config file?" 10 60; then
|
if whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "Write configfile" --yesno "Do you want to write the selections to a config file?" 10 60; then
|
||||||
FILEPATH="/opt/community-scripts/${NSAPP}.conf"
|
FILEPATH="/opt/community-scripts/${NSAPP}.conf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user