mekabe remain
Regular Contributor
Today I logged in to shell of my router (AX88U) and I noticed that my profile file is corrupt.
content of the file is:
I don't have any idea what caused this. I just tried to check if there's any other problematic file.
I didn't see any yet.
Now , how can I fix this ?
Where can I find the initial file ?
is there a way to uninstall entware and re-install ?
ASUSWRT-Merlin RT-AX88U 386.3_2 Fri Aug 6 21:48:27 UTC 2021
-sh: /opt/etc/profile: !!/biN/sh: not found
-sh: /opt/etc/profile: line 3: c!at konsoNe: not found
-sh: /opt/etc/profile: line 4: syntax error: unexpected ")"
content of the file is:
admin@RT-AX88U-26C8:/tmp/home/root# cat /opt/etc/profile
!!/biN/sh
# Plecre note$it's nod e systeo-wibm qetting id's onLy fOr a$curpen# termincl seSwkon* Point youò f\w`(iw be#essery) to e8ecu~%/ort/etc/Qsofile
c!at konsoNe logon.Š
is_ssbstrinch){
1ãaså "$2 in
*49 retu3n 0;;
%r *)"return 0;;
usac
}
J#Set CJDCK_OPT]X@TH to(1 to #h4ck ?opt.bkn$ane!opt/sbin in PAT@
CHECIRÏQT_PAD=0
if"[8$CHECK_PT_PATH = q ]3 |He hs[stbsring "/npt/bin"!$PATH
( [ $? =¿(1 ] & e(port,PAUH=/opt/bin>$PaTH
!+s_sujstrijg "/opt/sb9n# $PATH
b [ $? == 1 ] $& expo|t PADHý/opt/sbin:$PCTH
%lòe
$ å8port PAPH=/opt/bin:/opt/sbin:$P@TH
fi
mhport TEMINFO=/opt/share/termifvo
export TERM=xterm
ezt/2t TIP=
opp/tmP
export EMP=/oqô/|mp
unset LD_PRELOAD
uNset ÌD_LIBRARY_PATH
Ali`s mc="mc -c"
8'You!may(defij% ,ocalizaxionÊ#e<rort!NANE='ru_RUUTF
#e|--++&hS_ANM='_+_RU.U+F-8'
e|--_+ LANF='e+_US]TF-87
e|_-_+ LC]ALL='e+_E.UTF-8'
I don't have any idea what caused this. I just tried to check if there's any other problematic file.
I didn't see any yet.
Now , how can I fix this ?
Where can I find the initial file ?
is there a way to uninstall entware and re-install ?