lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

$PATH incorrectly set for system. #1145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Recently i've noticed that the system has a different value for $PATH that 
doesn't include the opt directories. I'm not sure whether this is done for a 
reason, but I think it would be best to modify this so that entware and custom 
binaries can be executed without specifying a full path which is unnecessary 
while in a bin folder.

SSH;

/opt/home/admin # env
USER=admin
HOSTNAME=RT-N56U
OLDPWD=/home
TERMINFO=/opt/share/terminfo
HOME=/home/admin
SSH_TTY=/dev/pts/0
LOGNAME=admin
TEMP=/opt/tmp
TERM=xterm
PATH=/opt/sbin:/usr/sbin:/sbin:/opt/bin:/usr/bin:/bin
LANG=en_US.UTF-8
TMP=/opt/tmp
SHELL=/bin/sh
PWD=/home/admin

Console;

USER=admin
HOME=/
TERM=linux
PATH=/sbin:/bin:/usr/sbin:/usr/bin
SHELL=/bin/sh
PWD=/www
TZ=UCT-10

Original issue reported on code.google.com by c_u_late...@hotmail.com on 31 Jan 2014 at 4:58

GoogleCodeExporter commented 9 years ago
At page http://my.router/Main_AdmStatus_Content.asp you may use the "console 
emulator", which is not a full-featured console.

Original comment by Dr.Sydorenko.O on 23 Feb 2014 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by Dr.Sydorenko.O on 15 Mar 2014 at 9:12