From 41ceba0f3fe505e0658e9fbdde423106ba6a4109 Mon Sep 17 00:00:00 2001 From: marko Date: Wed, 18 Jan 2006 10:32:30 +0000 Subject: [PATCH] Hard-code the path to quaggaboot.sh at /usr/local/bin/, since $ROOTDIR / $LIBDIR / $BINDIR substitutions are relevant only to the installer script. Bug found by: Zrinka Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- quagga.tcl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/quagga.tcl b/quagga.tcl index 288da3b..b7a0a3e 100755 --- a/quagga.tcl +++ b/quagga.tcl @@ -138,7 +138,7 @@ proc $MODULE.cfggen { node } { # Procedure bootcmd returns the defaut application that reads and # employes the configuration generated in router.quagga.cfggen. # In this case (procedure router.quagga.bootcmd) specific application -# is quaggaboot.sh (in ROOTDIR/LIBDIR folder) +# is quaggaboot.sh # INPUTS # * node_id - id of the node (type of the node is router and # routing model is quagga) @@ -147,13 +147,7 @@ proc $MODULE.cfggen { node } { #**** proc $MODULE.bootcmd { node } { - global ROOTDIR LIBDIR - if { $ROOTDIR == "." && $LIBDIR == "" } { - ;# on remote GUI / PC: - return "/usr/local/bin/quaggaboot.sh" - } else { - return "$ROOTDIR/$LIBDIR/quaggaboot.sh" - } + return "/usr/local/bin/quaggaboot.sh" } #****f* quagga.tcl/router.quagga.shellcmd -- 2.39.5