From 84b86d1db7b5e1c2cebab7f9c1f2f9ee165c089e Mon Sep 17 00:00:00 2001 From: MacRimi Date: Wed, 3 Sep 2025 22:14:29 +0200 Subject: [PATCH] Update nfs.sh --- scripts/share/nfs.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/scripts/share/nfs.sh b/scripts/share/nfs.sh index d2a9ab6..39b5425 100644 --- a/scripts/share/nfs.sh +++ b/scripts/share/nfs.sh @@ -258,16 +258,10 @@ create_nfs_export() { msg_ok "$(translate "NFS export created successfully!")" echo -e "" echo -e "${TAB}${BOLD}$(translate "Connection details:")${CL}" - echo -e "${TAB}${BGN}$(translate "Server IP:")${CL} ${CUS}$CT_IP${CL}" - echo -e "${TAB}${BGN}$(translate "Export path:")${CL} ${CUS}$MOUNT_POINT${CL}" - echo -e "${TAB}${CUS}mount -t nfs $CT_IP:$MOUNT_POINT /mnt/nfs${CL}" echo -e "${TAB}${BGN}$(translate "Mount options:")${CL} ${CUS}$OPTIONS${CL}" - echo -e "" - echo -e "${TAB}${BOLD}$(translate "Mount command examples:")${CL}" - echo -e "${TAB}${CUS}mount -t nfs $CT_IP:$MOUNT_POINT /mnt/nfs${CL}" - if [[ -n "$NFS_OPTS" ]]; then - echo -e "${TAB}${CUS}mount -t nfs -o $NFS_OPTS $CT_IP:$MOUNT_POINT /mnt/nfs${CL}" - fi + echo -e "${TAB}${BGN}$(translate "Server IP:")${CL} ${CUS}$CT_IP${CL}" + echo -e "${TAB}${BGN}$(translate "Export path:")${CL} ${CUS}$CT_IP:$MOUNT_POINT${CL}" + echo -e msg_success "$(translate "Press Enter to return to menu...")" read -r