From: miljenko Date: Wed, 21 Dec 2005 07:45:18 +0000 (+0000) Subject: For remote execution on PC quaggaboot.sh is set to /usr/local/bin/... X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=536c4ce3cb65696aca1ca22ba183c81f097a6986;p=imunes.git For remote execution on PC quaggaboot.sh is set to /usr/local/bin/... Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- diff --git a/quagga.tcl b/quagga.tcl index 85344c5..067c360 100755 --- a/quagga.tcl +++ b/quagga.tcl @@ -148,7 +148,12 @@ proc $MODULE.cfggen { node } { proc $MODULE.bootcmd { node } { global ROOTDIR LIBDIR - return "$ROOTDIR/$LIBDIR/quaggaboot.sh" + if { $ROOTDIR == "." && $LIBDIR == "." } { + ;# on remote GUI / PC: + return "/usr/local/bin/quaggaboot.sh" + } else { + return "$ROOTDIR/$LIBDIR/quaggaboot.sh" + } } #****f* quagga.tcl/router.quagga.shellcmd