u
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user