Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Made2Fit

macrumors newbie
Original poster
Dec 13, 2008
4
0
Hey, I have my atv 2.4 running a smb server and was wondering what is the best way to get it to start on boot up. I have a startup item created now but it doesnt launch the server on boot. Does the atv have a rc.local or would I need to create one?
 

Eclipse278

macrumors regular
Jan 21, 2007
207
1
I added the following to /etc/rc.local after installing the service and it has been working flawlesssly for a few months:

# start the SAMBA service
/opt/local/sbin/smbd -c /opt/local/etc/samba3/smb.conf
/opt/local/sbin/nmbd -c /opt/local/etc/samba3/smb.conf
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.