[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting runlevel to single-user
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: setting runlevel to single-user
- From: Henning Brauer <lists-openbsd_(_at_)_bsws_(_dot_)_de>
- Date: Thu, 28 Oct 2004 21:54:57 +0200
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
* Ben Goren <ben_(_at_)_trumpetpower_(_dot_)_com> [2004-10-28 20:56]:
> On 2004 Oct 28, at 10:25 AM, Henning Brauer wrote:
>
> >> The end of rc.local seems perfect.
> >
> > no, that is about the worst place you can find, because it is
> > nontrivial to remove during pkg_delete,
>
> That depends on what kinds of requirements you put on the scripts (and
> script-writers). If you require them to follow the already-standard
> ``if [ X"${foo_flags}"...'' formula and be properly indented, then it's
> trivial. Just whack everything from that first line up through the next
> ``fi'' on a line by itself.
that is going to brake sooner or later. far too fragile.
--
http://2suck.net/hhwl.html - http://www.bsws.de/
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Visit your host, monkey.org