Guest User

Untitled

a guest
Nov 26th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. \192.168.0.26mythtvmedia /media/mybooklive cifs username=user,password=pass,umask=002,uid=136,gid=144,iocharset=utf8 0 0
  2.  
  3. //192.168.0.26/mythtv/media /media/mybooklive cifs username=user,password=pass,_netdev,umask=002,uid=136,gid=144,iocharset=utf8 0 0
  4.  
  5. //192.168.0.26/mythtv/media /media/mybooklive cifs username=user,password=pass,_netdev,umask=002,uid=136,gid=144,iocharset=utf8 0 0
  6.  
  7. #!/bin/sh -e
  8. #
  9. # rc.local
  10. #
  11. # This script is executed at the end of each multiuser runlevel.
  12. # Make sure that the script will "exit 0" on success or any other
  13. # value on error.
  14. #
  15. # In order to enable or disable this script just change the execution
  16. # bits.
  17. #
  18. # By default this script does nothing.
  19.  
  20. # Print the IP address
  21. #GS notes: a *minimum* of sleep 10 is required for the mount below to work on the Pi 3; it failed with sleep 5, but worked with sleep 10, sleep 15, and sleep 30
  22. sleep 20
  23. _IP=$(hostname -I) || true
  24. if [ "$_IP" ]; then
  25. printf "My IP address is %sn" "$_IP"
  26. mount -a #GS: mount all drives in /etc/fstab
  27. fi
  28.  
  29. exit 0
Add Comment
Please, Sign In to add comment