I would like to mount a NAS automatically during start up, and have inserted the following line in /etc/fstab:
mount -t cifs -o username=xxxxxx,password=xxxxxx //nas8d5ec9.local/public/ /mnt/qnap_backup
The script does not mount the NAS. However, when I just cut and paste the mount code into a terminal it works as intended.
What do I need to add and/or change?