Fw: get pid of daemon in init script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/02/08, Dan McGee wrote:
> Because you are calling pidof before the process starts- bash does not
> do lazy evaluation of your expressions.
> 
> If you want to store the PID of the newly started process, you will
> have to make another PID=... call to get it in the else block where
> you access it.

Ohh, you are absolutely right. It is working now. I must get this damn
Common Lisp out of my head before writing shell scripts next time.

I will file a bug report on cups too.


Thanks,
Michael Krauss



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux