On 8/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Bryan Donlan <[EMAIL PROTECTED]> wrote: > > >On 8/30/05, David W. Williams <[EMAIL PROTECTED]> wrote: > >> I should have mentioned, I'm the: > >> > >> > >> Re: I messed up bootmisc.sh - now can't log in! guy > >> > >> from debian-user > >> > >> I just tried this with vi, and when I went to save, got this message: > >> > >> E45: 'readonly' option is set (add ! to override) > >> > >> Is it possible to get vi to override the read-only of the file system so > >> that I can remove the two offending lines of code from bootmisc.sh? > >> > >> Thank you very much for any help you can give. > >> > > > >Did you > >mount -o remount,rw / > >? > > > >PS, please keep the list CC'd, for people who have the same trouble in > >the future > > > > > Yes I did. That's what did the trick on the not being able to write to the > file system! > > Can anyone suggest a tutorial on writing what I think are called init scripts? > > Thanks!
Take a look at the files in /etc/init.d, just use one of them as a template, and symlink it in as /etc/rc<runlevel>.d/S99yourservice