[aklug] Re: Exit status of scripts

From: Royce Williams <royce@alaska.net>
Date: Fri Jun 05 2009 - 15:11:53 AKDT

James Zuelow wrote, on 6/5/2009 2:46 PM:
>> extend my.branch "echo blah"

> OK, no I'm not using the same syntax you are.

> exec squidClientSec /bin/bash /usr/local/bin/squid_client_stat.sh

I'd definitely switch from exec to extend if your version supports it -
it's much less labor-intensive and it's where the project wants users to go.

$ snmpwalk -V
NET-SNMP version: 5.4.2.1

From the 5.2 release notes:

    - improved version of "exec" extension directive - "extend":
        supports multi-line output, configurable command input, SET
        handling, a valid relocatable MIB output structure, etc

Royce

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri, 05 Jun 2009 15:11:53 -0800

This archive was generated by hypermail 2.1.8 : Fri Jun 05 2009 - 15:12:04 AKDT