[Splashy-users] splashy with a BSD like Init-System
Luis
lemsx1 at gmail.com
Thu Dec 28 21:20:51 CET 2006
Hello Hannes,
This is the reason why we kept the older scripts around (inside the
legacy folder in svn).
Your best bet I guess is to use the splashy10 splashyZ kinda scripts.
They work by running scripts at pre-chosen points during the boot
process. For instance, in the case of sysV style boot:
while booting:
/etc/rcS.d/S01splashy <--- starts splashy
/etc/rcS.d/S10splashy10 <--- 10%
/etc/rcS.d/S...splashy... <--- other percents up to a number, say 70
/etc/rc2.d/S99splashyZ <-- stops splashy
when shutting down:
/etc/rc2.d/K01splashyZ <--- when script gets "stop" it starts splashy
with "shutdown" as argument
... other scripts send percentage increments to Splashy using splashy_update...
Please note that we have no updated the legacy scripts in a while.
They might need to be revised.
Now, splashy-init was done specifically for Debian. Testing and making
splashy-init work with any other OS, even variants of Linux, might be
a bit complicated. In fact, for Linux use, splashy-init has been
deprecated by us ;-) the LSB approach works better.
That said, to make splashy-init work, you will need to have a few
tools in place, the most important of which are:
/proc filesystem
some form of pgrep implementation
all directories mounted before splashy starts (splashy-init will wait
for /proc to be mounted)
and others that you can read through the splashy-init code.
splashy-init is a very ingenious script. but it's also very
complicated. if possible, use the splashy10 scripts.
On 12/27/06, Hannes Mayer <kontakt at ecarux.de> wrote:
> Hi,
>
> i have build a Crux port of splashy and it works (after some trouble) but
> there are also some problems with the init script.
> i am still using the splashy-init script from 0.1.8 because the newer doesn't
> work without LSB init-functions. With the old script splashy starts up, but
> there is still some trouble with the Runlevels.
> Are there some Ideas for an init script for BSD like Init system (maybe it is
> interesting for slackware too)?
>
> Thank You.
> Hannes
>
>
>
>
> _______________________________________________
> Splashy-users mailing list
> Splashy-users at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/splashy-users
>
--
----)(-----
Luis Mondesi
*NIX Guru
"Feliz el hombre que ha hallado sabiduria y el hombre que consigue
discernimiento, porque el tenerla como ganancia es mejor que tener la
plata como ganancia; y el tenerla como producto, [mejor] que el oro
mismo" (Prov 3:13-14).
More information about the Splashy-users
mailing list