@reboot sleep 15 && /home/zemerdon/automount.sh
automount.sh (nvr)
Code: Select all
#!/bin/bash
mount.cifs //192.168.1.10/writeable /media/network/writeable -o credentials=/home/zemerdon/cifs_cred2,uid=33,gid=33,file_mode=0755,dirmode=0755
mount.cifs //192.168.1.10/zm_monitor /media/monitor -o credentials=/home/zemerdon/cifs_cred2,uid=33,gid=33,file_mode=0755,dirmode=0755
mount.cifs //192.168.1.10/zm_archive /media/archive -o credentials=/home/zemerdon/cifs_cred2,uid=33,gid=33,file_mode=0755,dirmode=0755
Code: Select all
#!/bin/bash
mount.cifs //192.168.1.11/vpnzm /media/vpnzm -o credentials=/home/jane/cifs_cred,vers=3.0,uid=33,gid=33,rw,mfsymlinks 0 0