2020-12-01 02:27:42 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Freebox share
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Mount]
|
|
|
|
Environment="SERVER='//192.168.0.254/Data'"
|
|
|
|
What=$SERVER
|
|
|
|
Where=/mnt/data
|
|
|
|
Type=cifs
|
2021-04-21 16:38:21 +02:00
|
|
|
Options=credentials=/etc/samba/credentials/data,_netdev,uid=1000,gid=985,iocharset=utf8,vers=3.1.1,file_mode=0644,dir_mode=0755
|
2020-12-01 02:27:42 +01:00
|
|
|
SloppyOptions=On
|
|
|
|
TimeoutSec=10
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|