NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Boot, write info to file, shutdown



On Wed, Aug 03, 2016 at 08:52:28AM +0000, Raymond Phillips wrote:
>
> Initially I thought it wouldn't be necessary to boot into multi-user
> mode, but the only way I know to run a script automatically at
> startup is to use cron's @reboot time, and cron doesn't start in
> single-user mode.  Is there a way to launch a script automatically
> in single-user mode?

Just replace /etc/rc with your script.

Thor


Home | Main Index | Thread Index | Old Index