OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: rjmx on December 03, 2005, 06:17:07 pm

Title: Console In 3.5.3 Doesn't Read .profile On Startup
Post by: rjmx on December 03, 2005, 06:17:07 pm
I'm new to opie (which I like very much). I'm curently trying to get bluetooth working on my poodle, which involves a lot of work with the console (along with more than the usual amount of swearing and cursing). I find, however, that aliases that I put in /home/root/.profile (or, for that matter, in /etc/profile) are not read on startup, which quickly gets annoying when I have to enter them manually each time. If I log into the zaurus with SSH, everything works, but not so with Console. I presume I need to add a flag to the /bin/sh invocation in the profile to make sh act as a login shell, but the standard sh flag to do that (--login) doesn't work. /bin/sh is symlinked to busybox, but the only documentation I can find on busybox (from their website) doesn't even mention sh as a function, much less document it.

How can I get my aliases to read each time I start Console?

 .....Ron
Title: Console In 3.5.3 Doesn't Read .profile On Startup
Post by: YoG on December 04, 2005, 07:25:30 am
try putting your settings (aliases, variables... whatever) in ".cshrc" (without the quotes of course) in your home directroy i.e.: /home/root.

YoG.