Re: how does FAI actually start on the install client?

2005-02-23 Thread martin f krafft
also sprach Thomas Lange <[EMAIL PROTECTED]> [2005.02.23.1202 +0100]:
> You SHOULD do it using a hook! Even hooks can be soucred if you
> need that function. If you implement an extension using hooks,
> it's easier for verybody to test it and easier for me to include
> it into fai.

too late. :)

well, it's not perfect yet anyhow, though it works on Debian.

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
 
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: [EMAIL PROTECTED]
 
echo Prpv a\'rfg cnf har cvcr | tr Pacfghnrvp Cnpstuaeic


signature.asc
Description: Digital signature


Re: how does FAI actually start on the install client?

2005-02-23 Thread Holger Levsen
Hi,

On Wednesday 23 February 2005 10:49, martin f krafft wrote:
> anyone know how the install client actually starts fai? it seems
> that /sbin/init is called, but /etc/rc{s,2}.d do not seem to do
> anything.

/etc/init.d/rcS (inside the nfsroot) is a link to /sbin/rcS_fai

> i need to insert a step into the boot sequence right after mounting
> the target filesystems, and before the base is untared. since this
> is supposed to become an integral part of FAI, i want to do it
> without hooks.

what are you doing / planning to do ?


regards,
 Holger


Re: how does FAI actually start on the install client?

2005-02-23 Thread Thomas Lange
> On Wed, 23 Feb 2005 10:49:13 +0100, martin f krafft <[EMAIL PROTECTED]> 
> said:

> anyone know how the install client actually starts fai? it seems
> that /sbin/init is called, but /etc/rc{s,2}.d do not seem to do
> anything.

Hi Martin,

init is called from the kernel which starts with this entry from /etc/inittab:
si::sysinit:/etc/init.d/rcS
But this is a symlinkk to the main fai script
./etc/init.d/rcS -> ../../sbin/rcS_fai

> i need to insert a step into the boot sequence right after mounting
> the target filesystems, and before the base is untared. since this
> is supposed to become an integral part of FAI, i want to do it
> without hooks.
You SHOULD do it using a hook! Even hooks can be soucred if you need
that function. If you implement an extension using hooks, it's easier
for verybody to test it and easier for me to include it into fai.

-- 
regards Thomas