[syslinux] tftpd-hpa and pidfile
Ferenc Wagner
wferi at niif.hu
Tue May 19 02:07:27 PDT 2009
Pascal Legrand <Pascal.Legrand at univ-orleans.fr> writes:
>> 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
It works by chance only. Admittedly, by a good chanche if your system
is lightly loaded, but still not a clean solution.
--
Feri.
More information about the Syslinux
mailing list