View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#5
Originally Posted by zero.vishnu View Post
Hi,

It is possible that there is a watchdog service running in the background that prevents bashrc from being modified.

But more importantly, why are you tinkering with bashrc? You could just write your own script, and set whatever paths you want there.
thanks for the reply!

this is my own .bashrc, in $HOME. i use it on every system that runs bash, {n900, laptop, n9, desktop, android ereader, etc}.


the bashrc works fine. i have an open kernel installed, and bash is running nicely, both when i ssh in and when i run meego-terminal. my aliases work, my gnu find/grep work {instead of busybox}.


....until i reboot.
when i reboot, the $HOME/.bashrc gets modified in a strange fashion.

it doesnt get replaced entirely, which i would understand and try to workaround.

only certain lines get changed, and in a very poorly programmed way.

the lines that get changed have to have the string "PS1=" and then the string ":" somewhere after it. lines that meet this arbitrary criteria are replaced as i describe above.
Attached Files
File Type: txt bashrc.txt (2.1 KB, 126 views)