Active Topics

 


Reply
Thread Tools
Posts: 9 | Thanked: 3 times | Joined on Oct 2007
#1
Heya, I noticed that 0s 2007 for the n770 doesn't use bash, it uses ash, how do I edit the startup text and some variables? Basically, which file for ash is equivilent to .bashrc for regular linux systems?
 
Posts: 191 | Thanked: 29 times | Joined on Sep 2007 @ Ottawa
#2
Originally Posted by sixpence View Post
Heya, I noticed that 0s 2007 for the n770 doesn't use bash, it uses ash, how do I edit the startup text and some variables? Basically, which file for ash is equivilent to .bashrc for regular linux systems?
Alas, ash is quite a bit dumber than bash. You have to edit /etc/profile, but be careful, any mistakes will impact all shells (even the shell you want to use to fix the mistake).

I have repackaged bash from http://packages.debian.org/sid/bash/armel/download

I haven't figured out how to get it into a repository yet. So for now you can download it from my website:
http://www.makikiweb.com/n800/downlo...1.17.armel.deb

I hear that it isn't a good thing to change the 'user' login to bash. Search the forum for that note. So I just type bash at the ash prompt, and I have a nice scriptable, aliasable shell.

I hope this helps,

Craig...
__________________
N800, Think Outside Kbd, 8GB SDHC Card (OCZ, ext2), and 8GB SD Card (Patriot formatted as VFAT)
Zaurus SL-6000, IR Keyboard, 1GB SD Card
 
Posts: 9 | Thanked: 3 times | Joined on Oct 2007
#3
Thanks! Great help! =D

Finally! *hugs wget, less, etc. etc*
 

The Following User Says Thank You to sixpence For This Useful Post:
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#4
Originally Posted by cvmiller View Post
Alas, ash is quite a bit dumber than bash. You have to edit /etc/profile, but be careful, any mistakes will impact all shells (even the shell you want to use to fix the mistake).
Instead of editing the global /etc/profile you can also add (and edit) /home/user/.profile
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 1 | Thanked: 0 times | Joined on Mar 2010
#5
Hi how can I add a script to run at startup time like rc.local file in fedora?
i tried with update-rc.d to create a daemon but the daemon i created never was run. need help and I apreciate it Thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:58.