On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote:
> so what i need to do is just put all the starting and
> stoping script in the /etc/init.h/
Write a script that will start/stop the daemons appropriately - yes.
It doesn't actually matter where you put this script.
I'm suggesting that you use t
default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote:
> since the daemon program is in the remote site computer, and i don't want
> the daemon program start when the remote computer start. i only want the
> daemon program start when i "triggered" it.
Fair enough.
I'd still recommend that you write a
or not.
Dave
>From: "Dave Shield" <[EMAIL PROTECTED]>
>To: "danny zhong" <[EMAIL PROTECTED]>
>CC: net-snmp-users@lists.sourceforge.net
>Subject: Re: exec question
>Date: Wed, 20 Sep 2006 09:04:52 +0100
>
>On 20/09/06, danny zhong <[EMAIL PROTECTED]&g
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 20/0
On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote:
> int main(void){
> while(1){
>
> }
> }
>
> and i put the execution command of this file in a script file called
> run.sh, in the snmpd.conf, i add
>
> exec .1.3.6.1.4.1.2021.53 run /bin/sh /home/danny/run.sh
No - that won't work.
"exec" is desi