Skip to content

Instantly share code, notes, and snippets.

@nielsvanderbeke
Created January 20, 2014 06:46
Show Gist options
  • Save nielsvanderbeke/8516010 to your computer and use it in GitHub Desktop.
Save nielsvanderbeke/8516010 to your computer and use it in GitHub Desktop.
sudo mkdir /mnt/media
sudo sh -c 'echo "//<ip synology>/media /mnt/media cifs user,uid=pi,gid=users,rw,suid,credentials=/etc/cifspwd 0 0" >> /etc/fstab'
sudo sh -c 'echo username=raspbmc > /etc/cifspwd'
sudo sh -c 'echo password=<password> >> /etc/cifspwd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment