On Tue, 01 Apr 2008 17:31:05 +0300 Doron Shoham <dorons at voltaire.com> wrote: > Checking if the tgtd daemon is running should be > done with pidof > > Signed-off-by: Doron Shoham <dorons at voltaire.com> > --- > scripts/tgt-setup-lun | 13 ++++++++----- > 1 files changed, 8 insertions(+), 5 deletions(-) Thanks, looks nice. But the old script checks there are two tgtd daemons running. The new one doesn't. Can you improve the new one to do that? Note that one of the two tgtd daemons could die due to a bug. |