Hello.
In my fstab, I have this: //xxx.xxx.xxx.xxx/media/audiobooks /media/audiobooks cifs auto,_netdev,credentials=/root/.smbcredentials,uid=3000,gid=3000 0 0
And I run truenas in a vm on this proxmox, so this smb share will not be ready until my truenas has booted up.
And for me to get it to work, I need to wait for truenas to boot, and then go in shell of pve and run mount -a
After that I got my share to work....
So, I am now wonder, if I can get pve shell to run this command automatic after x amount of seconds, lets say 120 seconds after a reboot or startup.
Is that possible?
In my fstab, I have this: //xxx.xxx.xxx.xxx/media/audiobooks /media/audiobooks cifs auto,_netdev,credentials=/root/.smbcredentials,uid=3000,gid=3000 0 0
And I run truenas in a vm on this proxmox, so this smb share will not be ready until my truenas has booted up.
And for me to get it to work, I need to wait for truenas to boot, and then go in shell of pve and run mount -a
After that I got my share to work....
So, I am now wonder, if I can get pve shell to run this command automatic after x amount of seconds, lets say 120 seconds after a reboot or startup.
Is that possible?