From owner-freebsd-small@FreeBSD.ORG Thu Aug 4 21:38:56 2005 Return-Path: X-Original-To: freebsd-small@freebsd.org Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8325216A41F for ; Thu, 4 Aug 2005 21:38:56 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 041C743D46 for ; Thu, 4 Aug 2005 21:38:50 +0000 (GMT) (envelope-from info@martenvijn.nl) Received: from [192.168.1.6] (vijn.xs4all.nl [194.109.254.102]) by smtp-vbr15.xs4all.nl (8.13.3/8.13.3) with ESMTP id j74LcnjD006889 for ; Thu, 4 Aug 2005 23:38:49 +0200 (CEST) (envelope-from info@martenvijn.nl) From: Marten To: freebsd-small@freebsd.org Content-Type: text/plain Organization: MartenVijn Date: Thu, 04 Aug 2005 23:39:46 +0000 Message-Id: <1123198786.600.67.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: tinybsd hookon patch X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@martenvijn.nl List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 21:38:56 -0000 Hi For applying my own addons to tinybsd I 've made a patch that allow one to do extra jobs on tinybsd. This is arranged by a patch on the tinybsd in /usr/local/bin. patch: http://martenvijn.nl/tinybsd/tinybsd-0.5_script_patch.txt This applies to tinybsd 0.5 How it works: 1. use the patch 2. In the configfile the configuration can be changed and functions can be added. The order of executing funcions can be defined The configfile needs to be places here: /usr/local/share/tinybsd/.config example: .config : http://martenvijn.nl/tinybsd/config !!remind the dot!! 3. in my example I use for: - my soekris kernel for 6.0 - enable a serial console on com1 - make a cf-card writable so the sshd startup script can write its key's. Afters writing the keys the cf is made readonly. cheers, Marten