2011-09-26, 03:22
Hi everyone,
Sorry if this has been covered before, but I tried searching and couldn't find anything.
I've got a "patched" AppleTV (Gen 1) with NitoTV installed. I can mount NFS shares (hosted on my WD My Book Live World Edition) manually just fine by issuing the following:
I see the mounts, browse files, watch movies, etc.
When I put them into my /etc/rc.local file and reboot, the mounts don't come back. I'm confident that rc.local is being run because I put this in at the end of the file:
And here's a "cat" of my boot.log:
This is driving me crazy! Anyone know why the mount commands work from a command line, but not from rc.local?
Thanks!
John
Sorry if this has been covered before, but I tried searching and couldn't find anything.
I've got a "patched" AppleTV (Gen 1) with NitoTV installed. I can mount NFS shares (hosted on my WD My Book Live World Edition) manually just fine by issuing the following:
Code:
sudo bash
/sbin/mount -t nfs -o rw NAS:/DataVolume/Public ~/NAS/Public
/sbin/mount -t nfs -o rw NAS:/DataVolume/home ~/NAS/home
I see the mounts, browse files, watch movies, etc.
When I put them into my /etc/rc.local file and reboot, the mounts don't come back. I'm confident that rc.local is being run because I put this in at the end of the file:
Code:
echo $(date) >> /users/frontrow/boot.log
echo User Name: >> /users/frontrow/boot.log
whoami >> /users/frontrow/boot.log
sleep 45
/sbin/mount -t nfs -o rw NAS:/DataVolume/Public ~/NAS/Public >> /users/frontrow/boot.log
/sbin/mount -t nfs -o rw NAS:/DataVolume/home ~/NAS/home >> /users/frontrow/boot.log
echo "Boot Done" >> /users/frontrow/boot.log
And here's a "cat" of my boot.log:
Code:
Sun Sep 25 21:19:23 EDT 2011
User Name:
root
Boot Done
This is driving me crazy! Anyone know why the mount commands work from a command line, but not from rc.local?
Thanks!
John