2010-06-10, 11:14
Guys
I'm actually using an Apple TV with a minimal Ubuntu image.
I'm having trouble with mounting my NAS share on boot. I have tested that the command works at the command line, but it doesnt seem to work in rc.local. Any thoughts?
My rc.local looks like this :
I'm actually using an Apple TV with a minimal Ubuntu image.
I'm having trouble with mounting my NAS share on boot. I have tested that the command works at the command line, but it doesnt seem to work in rc.local. Any thoughts?
My rc.local looks like this :
Code:
until ( ifconfig en0 ; ifconfig en1 ) 2>/dev/null | grep -q 'inet ' ; do sleep 2
done
ping -c2 192.168.0.1 # Ping twice for the first packet
sudo -u xbmc smbmount //192.168.0.117/Public ~/nas
exit 0