View Single Post
Posts: 21 | Thanked: 8 times | Joined on Jun 2010 @ North America, west coast
#30
Originally Posted by zsugiart View Post
damn I got exactly the same issue with you now!

I tinkered with .bash_profile and after one reboot it entered forever dot. It is indeed a subtle trap!!

My question is, does anyone know a way to remove the .profile file without flashing the device??
For the record, I never did find a way other than reflashing. I got really good at backing up the device and reflashing. Sorry to hear that you're having the same problem.

Having said that, I want to make sure I understand correctly: you fiddled with ~/.bash_profile? Or just plain ~/.profile? I would think your device does NOT call ~/.bash_profile on startup since it's actually starting up ash (busybox).

I hope what it is is that you actually named your file ~/.profile. I hope it's NOT that your file was called ~/.bash_profile and ash went and executed it anyway. :P Actually, if I recall correctly, bash doesn't execute ~/.bash_profile, either; it's ~/.bashrc, ~/.login, ~/.logout, and ~/.profile.