From owner-freebsd-small Sun Jun 24 14:14:37 2001 Delivered-To: freebsd-small@freebsd.org Received: from fe170.worldonline.dk (fe170.worldonline.dk [212.54.64.199]) by hub.freebsd.org (Postfix) with SMTP id A43EF37B405 for ; Sun, 24 Jun 2001 14:14:33 -0700 (PDT) (envelope-from simon@nitro.dk) Received: (qmail 20318 invoked by uid 0); 24 Jun 2001 21:14:14 -0000 Received: from 213.237.101.114.adsl.kh.worldonline.dk (HELO bofh.bofh) (213.237.101.114) by fe170.worldonline.dk with SMTP; 24 Jun 2001 21:14:14 -0000 Date: Sun, 24 Jun 2001 23:14:39 +0200 (CEST) From: Simon Nielsen X-X-Sender: To: Subject: patch to use 4.x style rc scripts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello I have made a patch that updates most of the PicoBSD rc scripts to FreeBSD 4.x style. E.g it uses a rc.conf that uses overrides over defaults/rc.conf. Indentation has been changed to match 4.x. Many "if"'s have been changed to "case"'s. Most is just copy-pasted from the normal FreeBSD rc scripts. It is about 4KB larger than existing PicoBSD rc scripts, but it also contains code for nat, dhcp and more which the current PicoBSD code does not. If the size is a problem, that could be removed. I have tested it and it appers to work has intented, but since so much have been changed there might be bugs, so I would very much like if someone would try it. Any comments are very welcome. The patch is 17KB so I won't post it here, but it's on my homepage, and if anyone prefer to get it by mail, i will be happy to send it. The patch is on http://simon.nitro.dk/patch/picobsd/ and is called 4xstyle.patch Simon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message