Click to See Complete Forum and Search --> : Oh no...I f0xx0red it up!


tha_0ne
10-23-2001, 09:47 AM
Doh...I added the command "python /var/keepalive/keepalive.py" to rc.local.
But...the script doesn't "go away", so I can't log in on the computer. What should I do to remove it?? And how should I make this script "autostarting", and, the script MUST be running at all times, even if I'm logged in.

I'm appreciated with help just removing it from rc.local so i can boot again! lol :)

mangeli
10-23-2001, 09:55 AM
Yea, you need an & sign after that line. That tells the computer to run the program in the background allowing you to do other stuff.

What you can try is when it boots and gets to that point, try hitting ctl-c if that doesn't stop it, you need to boot with your install disk, mount your root partition and edit your rc.local file. then reboot with out the install disk.

tha_0ne
10-23-2001, 10:32 AM
Can I use the "boot.img" supplied on the RH7.1 CD? If so, how? If not so, what image should I get? :confused:

BTW, if you wonder why I don't just use my disk, it doesn't exist anymore, I had to use it.

X_console
10-23-2001, 11:54 AM
This might be an easier way. If you're running LILO, type linux 1 at the boot prompt. This will send you to single user mode where you can edit the file.