From 097f8e424d5a771257e470e123e037e683b4cd4c Mon Sep 17 00:00:00 2001 From: "committer@tuxwarrior" Date: Sun, 6 Apr 2025 18:55:38 -0500 Subject: [PATCH] / nas() so, are we done now, maybe? --- dots/bash/.bashrc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/dots/bash/.bashrc b/dots/bash/.bashrc index 8a10a19..0ae2bfb 100644 --- a/dots/bash/.bashrc +++ b/dots/bash/.bashrc @@ -155,19 +155,6 @@ alias nas-unmount-2="sudo umount /mnt/nas" nas() { -# if [[ -n $1 ]] && [[ -n $2 ]] ; then -# -# if [ $1 == "mount" ] ; then -# echo "mount /mnt/nas" -# sudo mount -t cifs -o credentials=/home/poq/syncDir/secrets/misc/lillesorteboks.txt,iocharset=utf8,noperm //$2/fro /mnt/nas -# tree -L 2 /mnt/nas -# elif [ $1 == "umount" ] || [ $1 == "unmount" ] ; then -# echo "umount /mnt/nas" -# sudo umount /mnt/nas -# else -# echo "unknown mount command" -# fi -# if [[ -n $1 ]] ; then if [[ $1 == "umount" ]] || [[ $1 == "unmount" ]] ; then @@ -178,7 +165,7 @@ nas() { sudo mount -t cifs -o credentials=/home/poq/syncDir/secrets/misc/lillesorteboks.txt,iocharset=utf8,noperm //$2/fro /mnt/nas tree -L 2 /mnt/nas else - echo "unknown command? or, missing ip when doing a mount?" + echo "missing the ip when doing a mount? or, just trying a weird command? try: 'nas {mount,umount} {ip?}'" fi else