Re: !OT!: common standard for init scripts SysV and BSD alike. (Was somehow part of the riserfs thread)

From: Gregory Maxwell (greg@linuxpower.cx)
Date: Sat Jun 17 2000 - 14:09:04 EST


On Fri, 16 Jun 2000, Justin C. Darby wrote:

> One way to possibly do this, is to have BSD style inits, do a little trick..
>
> i.e. in /etc/local-packages, or some other directory place scripts.. in one
> of the last rc scripts, do something similar to this (under bash):
>
> for x in /usr/local-packages/*
> do if [-x $x] $x
> endif
> done
[snip]

Congratilations, you've just re-created SYSV init scripts. :)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:14 EST