How to start a script running at boot time?

Antony M Rasat anton at kaltengpos.com
Fri Mar 24 14:14:08 UTC 2006


> I know I can do something like:   su - user -c "script_to_run" 
> But I don't even know what's the best place to include that. 
 
Look inside file /etc/rc.conf line 54. You can create 
file /etc/rc.conf.local and insert your code there. Remember to add 
appropriate shell interpreter and apply permission to this newly created 
file.  
 
Regards, 
 
Anthony M. Rasat 
PT. Kalteng Pos Press 
Palangkaraya - Indonesia.- 
 




More information about the freebsd-questions mailing list