From 4843c4545dd58ad99ec4d8c79307030ce86397be Mon Sep 17 00:00:00 2001 From: miljenko Date: Mon, 2 Jan 2006 18:07:59 +0000 Subject: [PATCH] Bug: LIBDIR is "" if not set Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- quagga.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quagga.tcl b/quagga.tcl index 067c360..288da3b 100755 --- a/quagga.tcl +++ b/quagga.tcl @@ -148,7 +148,7 @@ proc $MODULE.cfggen { node } { proc $MODULE.bootcmd { node } { global ROOTDIR LIBDIR - if { $ROOTDIR == "." && $LIBDIR == "." } { + if { $ROOTDIR == "." && $LIBDIR == "" } { ;# on remote GUI / PC: return "/usr/local/bin/quaggaboot.sh" } else { @@ -163,7 +163,7 @@ proc $MODULE.bootcmd { node } { # set shell [router.quagga.shellcmd $node_id] # FUNCTION # Procedure shellcmd returns the shell that will be opened -# as a default shell for the virtual node. +# as a default shell for the virtual node. # Procedure router.quagga.shellcmd returns vtysh. # INPUTS # * node_id - id of the node (type of the node is router -- 2.39.5