View Full Version : Cannot get changes in rc.sysinit to run
gizm0
03-27-2002, 09:04 PM
I am running v2.0 hughes dtivo. I took the drives out and such to get bash running over serial. It works fine. However, I have added /.bashrc to the root directory and nothing happens...it doesn't get executed upon reboot. Then, when I modified the rc.sysinit over serial bash, to setup my turbonet, the changes to the file stick upon reboot, but the code to run the turbonet seems like it gets ignored. When I manually run the commands to setup the turbonet, telnet and extraction work fine. Please help...I'm getting really tired of entering all my changes and loading my drivers over the serial each time i reboot.
Thanks,
gizm0
genericuser
03-28-2002, 01:30 PM
Do I have this straight?
1) bash is enabled and appears when you reboot.
2) You are making changes to the rc.sysinit in the /etc/rc.d directory.
I have the same problem as you. My /.bashrc is not being executed when I reboot. I have to manually type "source /.bashrc"
Have you verifed that the /.bashrc file is executable? (chmod 755 /.bashrc)
What command line in rc.sysinit are you using to get bash going?
gizm0
03-28-2002, 05:46 PM
it's nice to know i'm not the only one having difficulties with this...
anyways, yeah, i first enabled bash by putting the tivo drive into my pc and updating the rc.sysinit on both partitions to be sure. On reboot the bash worked over serial. I added a /.bashrc and commands to initialize the turbonet card into the rc.sysinit through bash, but neither get run upon reboot. :(
Maybe, eventhough i'm in bash, i'm modifying the rc.sysinit on the wrong partition? I'm not sure...I can run pretty much anything from my bash prompt. The command i used to get it up and running was:
exec < /dev/ttyS3 >& /dev/ttyS3; bash -login
then through bash i added this:
exec < /dev/ttyS3 >& /dev/ttyS3; bash -login -rcfile /.bashrc
but /.bashrc still doesn't get run, and after this line i have the initalization for the turbonet.
--gizm0
gizm0
04-01-2002, 03:38 PM
I just took the plunge and updated to 25xtreme...now everything works great. Changes to rc.sysinit and .bashrc work. Oh well, I don't know what the problem was with 2.0, but this fixed it.
-gizm0
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.