[syslinux] tftpd-hpa and pidfile
Pascal Legrand
Pascal.Legrand at univ-orleans.fr
Tue May 19 01:37:16 PDT 2009
-------- Message original --------
> On Monday, May 18, 2009, 23:09:22, Geert Stappers wrote:
>
>> FWIW: 'pidof' is available in Debian.
>
> It's there in Gentoo, too, as a symlink to /sbin/killall5, which is
> part of it's sys-apps/sysvinit-2.86-r10 package.
>
Hello thanks for all your answers.
i try this :
in the init script
in the section start
d_start
echo $(pidof in.tftpd) > /var/run/in.tftpd.pid
in the section stop
d_stop
rm -f /var/run/in.tftpd.pid
it seems to works but i dont know if it's a clean solution
thanks again
--
---------------------------------------------------------------
Pascal Legrand
*IUT de Chartres* - _Service Informatique_
---------------------------------------------------------------
1, place Roger Joly
28000 Chartres
Tel : 02 37 91 83 36 - Fax: 02 37 91 83 01
More information about the Syslinux
mailing list