From owner-freebsd-questions Sun Mar 12 14: 9:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from codine.icr.com.au (codine.icr.com.au [203.17.49.107]) by hub.freebsd.org (Postfix) with ESMTP id 8129837B524 for ; Sun, 12 Mar 2000 14:09:37 -0800 (PST) (envelope-from dale@icr.com.au) Received: from icr.com.au (fantasy.icr.com.au [203.17.49.120]) by codine.icr.com.au (8.9.1/8.9.1) with ESMTP id IAA19412; Mon, 13 Mar 2000 08:15:54 +1000 (EST) (envelope-from dale@icr.com.au) Message-ID: <38CC1511.C93364F7@icr.com.au> Date: Mon, 13 Mar 2000 08:07:13 +1000 From: Dale Walker Reply-To: dale@icr.com.au Organization: Independent Computer Retailers (ICR) Pty Ltd / ICRnet X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Dennis Jun , freebsd-questions@freebsd.org Subject: Re: Uninstalling ports COMPLETELY References: <20000312215939.538.qmail@web613.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dennis Jun wrote: > > Thank you for such a quick reply. It was very helpful and answered my > question. > > I also wanted to double check with you, > when I do install a port, does it usually make any modifications to scripts > files or does it only download, compile, and copy binaries? > It doesn't normally 'edit' but it may add rc files (see below...) > I'm sorry if > I'm asking the same question again but I recently installed ssh2 and in the > book "The Complete FreeBSD", Greg Lehey says to add the command > "/usr/local/sbin/sshd" to my /etc/rc.local file. Which would be fine but I > don't have an rc.local. But for some reason at the time, I rebooted the box > not creating that file, but the ssh daemon started. I'm wondering if during > the install if the port edited some other script file I don't know bout > (because I don't see it in /etc/defaults/rc.conf) or it was already enabled > in some other script file. > Any executable script under /usr/local/etc/rc.d will run at startup as well... You will find a sshd.sh file in this directory... Take the time to read the /etc/rc.* files, you may find the answer to many 'how does it start....." type of questions... > On a sort of related note, how do i restart the /etc/rc.conf file? or any of the rc.conf file itself is not 'startable' but it is read by various other /etc/rc.* files.. If for example you have changes your firewall settings in rc.conf, you could check this out by running 'sh /etc/rc.firewall' which will read the parameters from /etc/rc.conf. > the rc files? Because, I remember editing that file and I wanted to see if it > would work ok but I had to reboot everytime I did it because I didn't know > any better (like in Windoze). Have a read of the /etc/rc.* files (don't worry about trying to understand _all_ the concepts), but they are pretty readable, and may help. > > Much thanx in advance. > Much angst in a trance... ;-) -- Dale Walker dale@icr.com.au Independent Computer Retailers (ICR) http://www.icr.com.au ICRnet http://www.icr.net.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message