]> git.entuzijast.net Git - imunes.git/commitdiff
Hard-code the path to quaggaboot.sh at /usr/local/bin/, since
authormarko <marko>
Wed, 18 Jan 2006 10:32:30 +0000 (10:32 +0000)
committermarko <marko>
Wed, 18 Jan 2006 10:32:30 +0000 (10:32 +0000)
$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

index 288da3bc210bc8c2185676f94b8fdb1d2bbb65ab..b7a0a3e1ecb24dbbdd4136251ac37276f35e0ace 100755 (executable)
@@ -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