PDA

View Full Version : ATV Startup Item or RC.local




Made2Fit
Oct 26, 2009, 12:44 PM
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
Oct 27, 2009, 01:54 PM
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