Mounting a Samba Share
I am trying to create a bash script to mount a windows 98 share on to my Red Hat 9 linux box to perform daily incremental backups with cron. the script is as follows:
mount -t smbfs //WIN98/C /smbmnt/win98 -o guest,ro
rsync -a --delete /smbmnt/win98/ /backup/win98
The script works perfectly twice, then any other attempts to run it just seem stop half way through mounting the windows 98 share.
When I restart the linux box, it will work again twice