:: [Dng] minimal init
Pàgina inicial
Delete this message
Reply to this message
Autor: karl
Data:  
A: dng
Assumptes nous: [Dng] Wiki spam
Assumpte: [Dng] minimal init
Someone mentioned [1].

So I tried busybox's init. It works great, my exp. config is at [2].

///

Also it would be possible to have a startup script (/etc/rcS) like:

#!/bin/bash

echo -n "Which init do you want to use? "
read -t 5 a # bash's read has a timeout option
if [ $? -gt 0 ]
then
echo timeout, use normal init
exec /sbin/normal_init <boot args...>
else
echo Switching to init_$a
exec /sbin/init_$a <boot args...>
fi

///

Basically, nothing hinders one to choose init's on the fly, or ?
(Well yes, they need different /etc/inittab's, but that is solvable.)

Regards,
/Karl Hammar

[1] http://www.troubleshooters.com/linux/init/manjaro_experiments.htm
[2] http://turkos.aspodata.se/computing/busybox_init.txt

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57