Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2006 22:20:55 +0800
From:      "Antony M Rasat" <anton@kaltengpos.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to start a script running at boot time?
Message-ID:  <WorldClient-F200603242220.AA20550424@kaltengpos.com>

next in thread | raw e-mail | index | archive | help
> 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.- 
 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?WorldClient-F200603242220.AA20550424>