From owner-freebsd-questions Tue Dec 14 21:34:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id A3AC715488 for ; Tue, 14 Dec 1999 21:34:32 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id AAA77618; Wed, 15 Dec 1999 00:34:27 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <199912150534.AAA77618@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19991215034153.866FB639EE@zagnut.hotpop.com> Date: Wed, 15 Dec 1999 00:34:26 -0500 (EST) From: John Baldwin To: m Subject: RE: Manual for the rc files? Cc: freebsd-questions@FreeBSD.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15-Dec-99 m wrote: > > Merry Xmas. > > Where is the manual or the guide to learn this "script" language? -f, > $, x$1, etc. Thanks. Bye. > > if [ -f /etc/defaults/rc.conf ]; then > if [ "x$1" != "x" ]; then > if [ "x$firewall_quiet" = "xYES" ]; then > $fwcmd add divert natd all from any to any via ${natd_interface} They are just 'sh' scripts, so 'man sh' is one place you can look. Any book on Bourne shell scripting would be applicable as well. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message