I can't get my AppleTV to execute an automount command from either my /etc/rc or /etc/rc.local
These are the two commands I'm trying:
su frontrow -c '/sbin/mount_afp afp://username:password@<IPAddress>/media /mnt/Server'
su frontrow -c '/sbin/mount_nfs <IPAddress>:/Volumes/media /mnt/Server'
I've tried without the su command as well. You can probably tell what I'm trying to do here. If I execute these manually, they work and if I sudo sh /etc/rc.local it works as well.
Any ideas of:
a> what's wrong?
b> how I can troubleshoot the problem?
Thanks in advance!