summaryrefslogtreecommitdiffstats
path: root/bin/nslogin.in
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nslogin.in')
-rw-r--r--bin/nslogin.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/nslogin.in b/bin/nslogin.in
index 2de297d..10be62b 100644
--- a/bin/nslogin.in
+++ b/bin/nslogin.in
@@ -1,7 +1,8 @@
#! @EXPECT_PATH@ --
##
-## $Id: nslogin.in,v 1.19 2006/08/10 07:00:31 heas Exp $
+## $Id: nslogin.in,v 1.21 2006/12/05 16:50:53 heas Exp $
##
+## @PACKAGE@ @VERSION@
## Copyright (C) 1997-2006 by Terrapin Communications, Inc.
## All rights reserved.
##
@@ -77,6 +78,9 @@ if {[ info exists env(CISCO_USER) ]} {
}
regexp {\(([^)]*)} "$reason" junk default_user
}
+if {[ info exists env(CLOGINRC) ]} {
+ set password_file $env(CLOGINRC)
+}
# Sometimes routers take awhile to answer (the default is 10 sec)
set timeout 45