I want to auto mount webdav folder with bash script. My server resources very pool so I have a memory problem about webdav. Therefore, I have to umount webdav folder for clear cache and memory. But, I have to manuel mount webdav folders, after than umount command. Because, system ask to me credentail for webdav folder so, I can't do it with bash script.
I edit ~/.davfs/secret file as following format;
http://address username password
after than, I uncomment line secrets
~/.davfs2/secret
in /etc/davfs2/davfs2.conf
file.
But, system still ask to me credential information.
How can I auto mount webdav ?
Thanks