mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
update share menu
This commit is contained in:
@@ -354,6 +354,7 @@ select_container_mount_point() {
|
|||||||
local choice mount_point existing_dirs options
|
local choice mount_point existing_dirs options
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
clear
|
||||||
choice=$(whiptail --title "$(translate "Configure Mount Point inside LXC")" \
|
choice=$(whiptail --title "$(translate "Configure Mount Point inside LXC")" \
|
||||||
--menu "$(translate "Where to mount inside container?")" 18 70 5 \
|
--menu "$(translate "Where to mount inside container?")" 18 70 5 \
|
||||||
"1" "$(translate "Create new directory in /mnt")" \
|
"1" "$(translate "Create new directory in /mnt")" \
|
||||||
|
@@ -637,8 +637,7 @@ configure_mount_options() {
|
|||||||
MOUNT_TYPE=$(whiptail --title "$(translate "Mount Options")" --menu "$(translate "Select mount configuration:")" 15 70 4 \
|
MOUNT_TYPE=$(whiptail --title "$(translate "Mount Options")" --menu "$(translate "Select mount configuration:")" 15 70 4 \
|
||||||
"1" "$(translate "Default options read/write")" \
|
"1" "$(translate "Default options read/write")" \
|
||||||
"2" "$(translate "Read-only mount")" \
|
"2" "$(translate "Read-only mount")" \
|
||||||
"3" "$(translate "Performance optimized")" \
|
"3" "$(translate "Custom options")" 3>&1 1>&2 2>&3)
|
||||||
"custom" "$(translate "Custom options")" 3>&1 1>&2 2>&3)
|
|
||||||
|
|
||||||
case "$MOUNT_TYPE" in
|
case "$MOUNT_TYPE" in
|
||||||
1)
|
1)
|
||||||
|
Reference in New Issue
Block a user