Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I do not get it ..
I install ipkg and I read in the wiki to modify PATH in /ffp/etc/profile
but whatever I try I never see the
/opt/bin:/opt/sbin added to the PATH statement after reboot when entering set in the console
it keeps the standard path for FFP and no new additional reference to the /opt path needed
I can edit
# Set the default system $PATH:
PATH=/ffp/bin:/usr/bin:/bin
if [ $(/ffp/bin/id -u) -eq 0 ]; then
PATH=/ffp/sbin:/usr/sbin:/sbin:$PATH
fi
export PATH
--
from /ffp/etc/profile I can edit it like
PATH=/ffp/bin:/usr/bin:/bin:/opt/bin:/opt/sbin
but after reboot of the device, the normal path's are there. So somewhere I must making a mistake
Adding an additional like like
PATH=/opt/bin:/opt/sbin:$PATH does not work as well .. so I do not get it ..
Anyone?
Offline
i have the same issue .. still reading up on this whole path thing ..
i have the following in /ffp/etc/profile:
# Set the default system $PATH: PATH=/ffp/bin:/usr/bin:/bin:/opt/bin:/opt/sbin if [ $(/ffp/bin/id -u) -eq 0 ]; then PATH=/ffp/sbin:/usr/sbin:/sbin:/opt/bin:/opt/sbin:$PATH fi export PATH
it still isn't set if i login via telnet ..
/mnt/HD_a2/ffp/etc # echo $PATH
/ffp/sbin:/ffp/bin:/usr/sbin:/sbin:/usr/bin:/bin
/mnt/HD_a2/ffp/etc #
Last edited by mastervol (2009-02-07 12:05:23)
Offline
Have you enabled login for telnet? http://dns323.kood.org/howto:ffp#the_root_user
Offline
The path command you pass will not survive a re-boot.
In my box I added the following line to my /ffp/etc/profile ....
PATH=/opt/bin:/opt/sbin:$PATH
I did this some time ago and now, looking at it again, I'm not sure this is 100% correct but it seems to work fine (rtorrent runs well at least) na dit survives a re-boot.
Perhaps I should add these paths to the existing PATH string starting at line 16. If someone can chime in and confirm if my hack is OK or not please do so.
Last edited by lambretta (2009-02-10 03:02:00)
Offline
I've added these lines in my /ffp/etc/fun_plug.local
# make optware bind mkdir -p /opt mount --bind /mnt/USB/ipkg/opt /opt export PATH=/opt/bin:/opt/sbin:$PATH
It seams to work and survive a reboot.
I did use the /ffp/etc/profile hack to change to the PATH for a non root user. This also seams to survive a reboot.
Last edited by RunaR (2009-02-10 11:23:25)
Offline