Advertisement
Guest User

Untitled

a guest
Aug 29th, 2017
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. cat /etc/systemd/system/media-Cloud.automount
  2. [Unit]
  3. Description=cifs mount script
  4. Requires=network-online.target
  5. After=network-online.service
  6.  
  7. [Automount]
  8. Where=/media/Cloud
  9. TimeoutIdleSec=10
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
  13.  
  14. cat /etc/systemd/system/media-Cloud.mount
  15. [Unit]
  16. Description=cifs mount script
  17. Requires=network-online.target
  18. After=network-online.service
  19.  
  20. [Mount]
  21. What=//192.168.1.1/42
  22. Where=/media/Cloud
  23. Options=username=42,password=42,rw,_netdev
  24. Type=cifs
  25.  
  26. [Install]
  27. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement