*BSD News Article 24393


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!math.ohio-state.edu!cyber2.cyberstore.ca!nntp.cs.ubc.ca!alberta!atha!aupair.cs.athabascau.ca!rwa
From: rwa@aupair.cs.athabascau.ca (Ross Alexander)
Newsgroups: comp.os.386bsd.questions
Subject: Re: [Q] How to edit file /etc/rc.local
Message-ID: <rwa.754075243@aupair.cs.athabascau.ca>
Date: 23 Nov 93 17:20:43 GMT
References: <CGwJJ9.BDq@oakhill.sps.mot.com> <CGxEpM.Bpw@mentor.cc.purdue.edu>
Sender: news@cs.athabascau.ca
Lines: 36

spm@staff.cc.purdue.edu (Sean McDermott) writes:

>To edit the file....do the following.........
>boot single user...(type -s at the boot prompt)
>mount -u -o rw  /

You might want to run "fsck /dev/rXX0a" for some suitable value of XX first.

>mount /var
>mount /usr

Ditto here.  Or else just "fsck -p".

>mount (anything else in /etc/fstab)

mount -t ufs -a.  He hasn't initialized the network yet.

>cd etc
>vi rc.local

oldtimers tend to use ed rather than vi ;).

>sync;sync;sync

This should be on three seperate lines.  Why?  Because it
takes longer to type that way.

>shutdown -r now

This is all nitpicking, but I thought I'd mention it
just in case.

regards,
Ross
--
Ross Alexander,rwa@cs.athabascau.ca,(403) 675 6311,ve6pdq@nebulus.ampr.ab.ca