Need to run a Command Once on Boot. FreeBSD8.1

Jason jhelfman at e-e.com
Fri Sep 3 20:02:50 UTC 2010


On Fri, Sep 03, 2010 at 02:50:48PM -0500, Martin McCormick thus spake:
>Robert Bonomi writes:
>> /etc/rc.local maybe?  contrary to the 'rc.d' way of doing things, but
>> 'simple'.  :)
>
>	Thanks so much to both people who answered. I thought
>there was more to it than that  but I may be thinking of the
>rcx.d directories in Linux. If you don't watch out, you can be
>scratching your head all day trying to figure out why the job
>isn't getting done. I use and like both FreeBSD and Linux but
>some things are easier in one than the other.
>
>	Again, many thanks.

man 5 crontab has:

@reboot         Run once, at startup

>
>Martin McCormick WB5AGZ  Stillwater, OK
>Systems Engineer
>OSU Information Technology Department Telecommunications Services Group


More information about the freebsd-questions mailing list