*BSD News Article 24022


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!cs.utexas.edu!oakhill!nhatrang!kbta
From: kbta@nhatrang (Khanh-Binh Ta)
Subject: [Q] How to edit file /etc/rc.local
Message-ID: <CGJz6D.A3H@oakhill.sps.mot.com>
Sender: news@oakhill.sps.mot.com
Nntp-Posting-Host: nhatrang
Organization: Motorola SPS, Austin, Texas
X-Newsreader: TIN [version 1.2 PL2]
Date: Mon, 15 Nov 1993 21:47:00 GMT
Lines: 22


Good morning Netpeople,

I've installed XFree86-2.0 on my NetBSD and put these lines in
my /etc/rc.local:

        if [ -x /usr/X386/bin/xdm ]; then
        echo -n 'xdm'; /usr/X386/bin/xdm
        fi
        console "/usr/libexec/getty Pc" confs25 off secure

and rebooted, and of course "xdm" does not work yet with my setup,
the trouble is there was no console, so I'm left without unix. I've
tried to boot from the kernel disk but it tried to re-install, I've
tried fixit disk of BSD but it was not bootable.

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,

kb