*BSD News Article 24023


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!plains.NoDak.edu!tinguely
From: tinguely@plains.NoDak.edu (Mark Tinguely)
Subject: Re: [Q] How to edit file /etc/rc.local
Sender: usenet@ns1.nodak.edu (Usenet login)
Message-ID: <CGK43x.11s6@ns1.nodak.edu>
Date: Mon, 15 Nov 1993 23:33:33 GMT
References: <CGJz6D.A3H@oakhill.sps.mot.com>
Nntp-Posting-Host: plains.nodak.edu
Organization: North Dakota State University
Lines: 18

In article <CGJz6D.A3H@oakhill.sps.mot.com> kbta@nhatrang (Khanh-Binh Ta) writes:
>
>Anyone has an idea of how to edit this /etc/rc.local file in this
>situation and a mean to do it please post or/and email me please.
>Many thanks,

boot from disk.
Cntl-C the fsck (just after message "Automatic reboot in progress").
wait for prompt.
re-mount the root:
	mount -u /dev/wd0a /	(ide)
 or
	mount -u /dev/sd0a /	(scsi)
mount /usr (because prob need TERMCAP entry):
	mount /usr
edit file (vi or whatever).
sync disk
reboot system.