"kill -HUP `pidof inetd`" fails
Cathey, Jim
jcathey at ciena.com
Wed Jul 6 23:25:55 UTC 2011
Looks like whatever it was that tried to invoke
the kill command didn't use a shell to parse it
first.
-- Jim
-----Original Message-----
From: busybox-bounces at busybox.net [mailto:busybox-bounces at busybox.net]
On Behalf Of Gilles
Sent: Wednesday, July 06, 2011 4:19 PM
To: busybox at busybox.net
Subject: "kill -HUP `pidof inetd`" fails
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?
Thank you.
_______________________________________________
busybox mailing list
busybox at busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
More information about the busybox
mailing list