From bae3ef6460f8e23de9ae55adb8a36b70f29b5d4c Mon Sep 17 00:00:00 2001 From: MacRimi Date: Wed, 3 Sep 2025 22:06:34 +0200 Subject: [PATCH] Update nfs.sh --- scripts/share/nfs.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/share/nfs.sh b/scripts/share/nfs.sh index 6c27495..d2a9ab6 100644 --- a/scripts/share/nfs.sh +++ b/scripts/share/nfs.sh @@ -260,6 +260,14 @@ create_nfs_export() { 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 msg_success "$(translate "Press Enter to return to menu...")" read -r