Re: [Networker] How to enable a disabled device from commandline
2005-02-21 10:00:50
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.
>
It's pretty straightforward:
#!/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
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|