"kill -HUP `pidof inetd`" fails
Denys Vlasenko
vda.linux at googlemail.com
Fri Jul 8 02:05:08 UTC 2011
On Thursday 07 July 2011 01:18, Gilles wrote:
> Hello
>
> An application uses the following command to restart inetd:
> =============
> root:/var/tmp> kill -HUP `pidof inetd`
> kill: bad pid '`pidof'
> kill: bad pid 'inetd`'
> =============
>
> pidof is actually compiled in Busybox:
> =============
> root:/var/tmp> which pidof
> /sbin/pidof
>
> root:/var/tmp> ls -al /sbin/pidof
> lrwxrwxrwx 1 root root 7 Jul 4 2011 /sbin/pidof
> -> busybox
> =============
>
> Inet is running OK:
> =============
> root:/var/tmp> ps aux| grep inetd
> 55 root 484 S /sbin/inetd -f
> 196 root 692 S grep inetd
>
> root:/var/tmp> pidof inetd
> 55
> =============
>
> I don't understand the cause for the error. Anybody has an idea?
Which version of busybox do you use?
Please post the .config file used to build it.
--
vda
More information about the busybox
mailing list