|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Disabling rc.local on boot
Is there an argument you can supply to LILO on boot (as opposed to the default "mount") which will disable the rc.local file? Or another way of booting without execing this? Becuase I've gone and put a command in which hangs the system so I can't edit it out again once in the OS
![]() |
|
#2
|
||||
|
||||
|
Ah found two solutions :-) Thought I'd share them with you all in case you accidentally bugger up your boot scripts too!
I either mounted the OS with "single" as an argument, which put it in single user mode and so stopped all the scripts that usually come after rc.M. Or I mounted it with "shell=/bin/sh" as an argument, which loaded it straight into the shell without execing any of the boot scripts. From here I could then amend the rc.local file :-) |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Disabling rc.local on boot |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|