#!/bin/bash # If the first parameter is empty, login using current username if [ -z $1 ] then NovellLogin=$USER else NovellLogin=$1 fi # Create directory if necessary if [ -d ~/novell ] then mkdir ~/novell fi ncpumount ~/novell ncpmount -S COMENIUS2 -V DATA5/zkousky/simunek -U $NovellLogin -u $USER -f 744 -d 755 -A 172.16.1.2 ~/novell