Author Topic: Console In 3.5.3 Doesn't Read .profile On Startup  (Read 2093 times)

rjmx

  • Newbie
  • *
  • Posts: 12
    • View Profile
Console In 3.5.3 Doesn't Read .profile On Startup
« 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

YoG

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Console In 3.5.3 Doesn't Read .profile On Startup
« Reply #1 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.
C860 Autobuilt Angstrom (OPIE) & Zubuntu 9.04  dual boot using kexec
SanDisk SDHC 4GB, Agiwara Sys-Com CF 1GB, Sandisk CF 256MB, Socket BT, Linksys WCF12 Wifi card, RoyalTek RBT-1000 Bluetooth GPS
yogzlog.blogspot.com