Various fixes (#4924)
This commit is contained in:
parent
623c8d993d
commit
43697716ae
@ -385,7 +385,7 @@ HN="${HN}"
|
|||||||
BRG="${BRG}"
|
BRG="${BRG}"
|
||||||
APT_CACHER_IP="${APT_CACHER_IP:-none}"
|
APT_CACHER_IP="${APT_CACHER_IP:-none}"
|
||||||
DISABLEIP6="${DISABLEIP6}"
|
DISABLEIP6="${DISABLEIP6}"
|
||||||
PW="${PW:-none}"
|
PW='${PW:-none}'
|
||||||
SSH="${SSH}"
|
SSH="${SSH}"
|
||||||
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
|
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
|
||||||
VERBOSE="${VERBOSE}"
|
VERBOSE="${VERBOSE}"
|
||||||
@ -397,6 +397,7 @@ SD="${SD:-none}"
|
|||||||
MAC="${MAC:-none}"
|
MAC="${MAC:-none}"
|
||||||
NS="${NS:-none}"
|
NS="${NS:-none}"
|
||||||
NET="${NET}"
|
NET="${NET}"
|
||||||
|
FUSE="${ENABLE_FUSE}"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
echo -e "${INFO}${BOLD}${GN}Writing configuration to ${FILEPATH}${CL}"
|
echo -e "${INFO}${BOLD}${GN}Writing configuration to ${FILEPATH}${CL}"
|
||||||
@ -416,7 +417,7 @@ HN="${HN}"
|
|||||||
BRG="${BRG}"
|
BRG="${BRG}"
|
||||||
APT_CACHER_IP="${APT_CACHER_IP:-none}"
|
APT_CACHER_IP="${APT_CACHER_IP:-none}"
|
||||||
DISABLEIP6="${DISABLEIP6}"
|
DISABLEIP6="${DISABLEIP6}"
|
||||||
PW="${PW:-none}"
|
PW='${PW:-none}'
|
||||||
SSH="${SSH}"
|
SSH="${SSH}"
|
||||||
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
|
SSH_AUTHORIZED_KEY="${SSH_AUTHORIZED_KEY}"
|
||||||
VERBOSE="${VERBOSE}"
|
VERBOSE="${VERBOSE}"
|
||||||
@ -428,6 +429,7 @@ SD="${SD:-none}"
|
|||||||
MAC="${MAC:-none}"
|
MAC="${MAC:-none}"
|
||||||
NS="${NS:-none}"
|
NS="${NS:-none}"
|
||||||
NET="${NET}"
|
NET="${NET}"
|
||||||
|
FUSE="${ENABLE_FUSE}"
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
echo -e "${INFO}${BOLD}${GN}Writing configuration to ${FILEPATH}${CL}"
|
echo -e "${INFO}${BOLD}${GN}Writing configuration to ${FILEPATH}${CL}"
|
||||||
@ -795,7 +797,7 @@ advanced_settings() {
|
|||||||
echo -e "${ROOTSSH}${BOLD}${DGN}Root SSH Access: ${BGN}$SSH${CL}"
|
echo -e "${ROOTSSH}${BOLD}${DGN}Root SSH Access: ${BGN}$SSH${CL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "FUSE Support" --yesno "Enable FUSE support?\nRequired for tools like rclone, mergerfs, AppImage, etc." 10 58); then
|
if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "FUSE Support" --yesno "Enable FUSE support?\nRequired for tools like rclone, mergerfs, AppImage, etc." 10 58); then
|
||||||
ENABLE_FUSE="yes"
|
ENABLE_FUSE="yes"
|
||||||
else
|
else
|
||||||
ENABLE_FUSE="no"
|
ENABLE_FUSE="no"
|
||||||
|
@ -618,6 +618,24 @@ config_file() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "$ENABLE_FUSE" ]]; then
|
||||||
|
if [[ "$ENABLE_FUSE" == "yes" ]]; then
|
||||||
|
echo -e "${FUSE}${BOLD}${DGN}Enable FUSE: ${BGN}Yes${CL}"
|
||||||
|
elif [[ "$ENABLE_FUSE" == "no" ]]; then
|
||||||
|
echo -e "${FUSE}${BOLD}${DGN}Enable FUSE: ${BGN}No${CL}"
|
||||||
|
else
|
||||||
|
msg_error "Enable FUSE needs to be 'yes' or 'no', was ${ENABLE_FUSE}"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if (whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "FUSE" --yesno "Enable FUSE?" 10 58); then
|
||||||
|
ENABLE_FUSE="yes"
|
||||||
|
else
|
||||||
|
ENABLE_FUSE="no"
|
||||||
|
fi
|
||||||
|
echo -e "${FUSE}${BOLD}${DGN}Enable FUSE: ${BGN}$ENABLE_FUSE${CL}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "${VERBOSE-}" ]]; then
|
if [[ -n "${VERBOSE-}" ]]; then
|
||||||
if [[ "$VERBOSE" == "yes" ]]; then
|
if [[ "$VERBOSE" == "yes" ]]; then
|
||||||
echo -e "${SEARCH}${BOLD}${DGN}Verbose Mode: ${BGN}$VERBOSE${CL}"
|
echo -e "${SEARCH}${BOLD}${DGN}Verbose Mode: ${BGN}$VERBOSE${CL}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user