1
I want to auto mount WebDAV folder with a bash script. My server resources are very poor so I have a memory problem with WebDAV. Therefore, I have to umount WebDAV folder to clear cache and memory. But, I have to manually mount WebDAV folders, after that umount command. Because, system ask to me for credentials for WebDAV folder so, I can't do it with a bash script.
I edited ~/.davfs/secret
file as follows:
http://<webdav address> username password
after that, I uncommented line secrets ~/.davfs2/secret
in /etc/davfs2/davfs2.conf
file.
But, system still asks to me for credentials.
How can I auto mount WebDAV?