posted yesterday with a similar issue, I'm just trying to figure out how to get the script working.
I am able to do this:
These mount find. They SEEM to survive a reboot, as well.
But I don't want to run into issues so I tried to create the necessary files.
But when I created those files, here's the first code:
[Unit] Description=cifs mount script Requires=network-online.service After=network-online.service Before=kodi.service [Mount] What=//192.168.1.3/Volume_1 Where=/storage/Volume_1 Options=username=USERNAME,password=PASSWORD,rw,version=1.0 Type=cifs [Install] WantedBy=multi-user.target
I could not get it to work. Is it because I had previously mounted the share? It seemed to delete the folder I made for Volume_1, unfortunately.
I've been working on this stuff, and trying to get things working on a Pi1 for far too long, and my brain is fried - again. I'm at the home stretch and would love any help.