This commit is contained in:
committer@tuxwarrior
2025-04-06 18:37:33 -05:00
parent 5ea7b3e51d
commit afb5d71598

View File

@@ -155,7 +155,7 @@ alias nas-unmount-2="sudo umount /mnt/nas"
nas() {
if [ -f $1 ] && [ -f $2 ] ; then
if [[ -n $1 ]] && [[ -n $2 ]] ; then
if [ $1 == "mount" ] ; then
echo "mount /mnt/nas"
@@ -169,7 +169,7 @@ nas() {
else
echo "sry, bud! i did not understand that one. try: 'nas {mount,umount} {ip}?'"
echo "sry, bud! i did not understand that one. try: 'nas {mount,umount} {ip?}'"
fi