Hi there, I’m trying to use my old script (worked with raspbmc…) to mount a NAS share, here is the line added to fstab:
//jyhbooklive/Media /jyhbooklive cifs rw,owner,uid=osmc,gid=downloaders,file_mode=0775,dir_mode=0775 0 0
The hosts file has the jyhbooklive and the group downloaders was created.
when the script (that create all including the line on the fstab file and hosts file) finishes, the console ask for the NAS admin password and the filesystem is mounted, but when I restart the raspberry pi 1 I cannot get kodi up, I get the sad face blue screen instead…
My script is:
sudo mkdir /jyhbooklive
sudo echo “192.168.2.15 jyhbooklive” >> /etc/hosts
sudo echo “//jyhbooklive/Media /jyhbooklive cifs rw,owner,uid=osmc,gid=downloaders,file_mode=0775,dir_mode=0775 0 0” >> /etc/fstab
echo “CONFIGURANDO GRUPO DOWNLOADERS”
sudo groupadd downloaders
sudo usermod osmc -G downloaders
sudo mount -a
I have OSMC RC3 (compiled 19/05/2015) on raspberry pi 1
Any help?, thanks