Subject: Re: Automatically starting programs...
To: None <netbsd-users@netbsd.org>
From: Andy Ball <ball@cyberspace.org>
List: netbsd-users
Date: 08/12/2002 23:02:46
Hello Aram, Jukka & Bruce!

Thanks for your help!

  AG> If you don't have root access to the host, though, I
    > doubt there is any way to do anything at boot. If that
    > is the case, you might use a cron job to check the
    > last boot time at a regular interval.

It happens that I am root on the host in question, but I'll
keep make a note of your other suggestion because it may be
useful at some point.

  JM> If I want to run something as root, I put it in
    > /etc/rc.local.

That's the technique I tried and it's working, so I'll stick
with it.

  BA> But then you may need to use /etc/rc.shutdown to do a
    > clean shutdown.

I'll bear that in mind, no harm in being tidy.

Regards,
  - Andy Ball.