Keith Edmunds wrote:
> You can simplify your script to one line:
>
> pid=$(pidof lircd) && kill -HUO $pid
>
> That's a good deal simpler, so give that a go first.
>
> Keith
>
>
Or use
pkill -HUP lircd
--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------