#!/bin/csh -f # mount the encrypted disk if it is not yet done if !(-f /sct/wvdial.conf) then truecrypt /sctdat.tc /sct endif # see whether wvdial.conf is there now if !(-f /sct/wvdial$1.conf) then echo '*** wvdial$1.conf not found' exit 1 endif # if an argument is given, copy that file to wvdial.conf if ("$1" != "") then cp /sct/wvdial$1.conf /sct/wvdial.conf endif # dial the ISP sudo -u root wvdial