Networker

Re: [Networker] How to enable a disabled device from commandline

2005-02-21 10:00:34
Subject: Re: [Networker] How to enable a disabled device from commandline
From: Davina Treiber <treiber AT HOTPOP DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 21 Feb 2005 10:00:28 -0500
On Mon, 21 Feb 2005 09:57:52 -0500, Davina Treiber <treiber AT HOTPOP DOT COM>
wrote:

>On Mon, 21 Feb 2005 09:12:45 -0500, Somen Chanda <schanda AT NETJETS DOT COM>
>wrote:
>
>>Has anyone enabled a automatically disabled device from commandline. I am
>>trying to do this by a script.
>>
>

Third time lucky - curse that web interface....

#!/bin/ksh
DEV=$1
echo "
    . type: NSR device;
      name: $DEV
    update enabled: Yes" \
        ¦ nsradmin -i -

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listserv.temple DOT edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
also view and post messages to the list. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=