Menu

#3 Sets up variable defined IP and TC locations

closed
nobody
None
5
2004-01-29
2003-10-21
Anonymous
No

Creates $IP and $TC so that a user can specify the
location of the ip and tc commands, instead of having
to trapse through the code to make the changes in the
appropriate places without breaking anything. Since tc
and ip mean different things in different places
(sometimes it's a direct call to the command,
othertimes a call to a wrapper function), this fix was
simple, but took a little bit of effort to iron out.

This will also solve the problem of someone not having
/sbin/ (or /usr/sbin as the case may be) in their $PATH.

Be warned, patch -p1 < cbq-init-global.diff will patch
the cbq.init in the current directory.

Discussion

  • Nobody/Anonymous

    Replace local commands with global variables within cbq.init

     
  • Seth J. Blank

    Seth J. Blank - 2003-10-21

    Logged In: YES
    user_id=144730

    Gah, this was submitted by me, but sf apparently lost my
    login information.

    Yay for simple fixes.

     
  • Lubomir Bulej

    Lubomir Bulej - 2004-01-29
    • status: open --> pending
     
  • Lubomir Bulej

    Lubomir Bulej - 2004-01-29
    • status: pending --> closed
     
  • Lubomir Bulej

    Lubomir Bulej - 2004-01-29

    Logged In: YES
    user_id=453357

    Integrated in version 0.7.3

     

Log in to post a comment.