Add $path without using jffs

Discussion in 'Tomato Firmware' started by rs232, Apr 5, 2012.

  1. rs232

    rs232 Network Guru Member

    I've been using the JFFS so far to add paths to the $PATH, but I decided not to use jffs again.
    How can I add a custom paths to $PATH so that the ssh pick them up?

  2. ntest7

    ntest7 Network Guru Member

    To add to the default $PATH variable, use put the following in the Admin-Scripts-Init page:

    echo PATH=\$PATH:/some/path >> /root/.profile
    rs232 likes this.
  3. rs232

    rs232 Network Guru Member

    Great thanks!
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice