From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 23 12:25:59 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9088416A4DE; Wed, 23 Aug 2006 12:25:59 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8B0943D6B; Wed, 23 Aug 2006 12:25:57 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (xgpkda@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id k7NCPp26068697; Wed, 23 Aug 2006 14:25:56 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id k7NCPo46068696; Wed, 23 Aug 2006 14:25:50 +0200 (CEST) (envelope-from olli) Date: Wed, 23 Aug 2006 14:25:50 +0200 (CEST) Message-Id: <200608231225.k7NCPo46068696@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@freebsd.org, matteo@freebsd.org In-Reply-To: <200608221239.k7MCdAxk098539@lurza.secnetix.de> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.8.0-20051224 ("Ronay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 23 Aug 2006 14:25:56 +0200 (CEST) X-Mailman-Approved-At: Wed, 23 Aug 2006 23:39:24 +0000 Cc: Subject: Re: About loader(8) forth X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Aug 2006 12:25:59 -0000 Oliver Fromme wrote: > Matteo Riondato wrote: > > Just to have a try, I replaced /boot/beastie.4th with file a > > containing only: > > > > ." Welcome to FreeSBIE" > > exit > > > > then I deleted the line mentioning beastie-start from /boot/loader.rc > > and rebooted my machine. > [...] > I think putting "exit" directly into beastie.4th (which is > included by loader.rc) is not a good idea. You should use > "exit" only within a function that you define in beastie.4th > and then call that function from loader.rc, just like the > standard files do. Oh, I forgot to mention that the word `` ." '' cannot be used in interpret mode, but only in interpret mode (i.e. when defining a function). You should either put it inside a function, as suggested above, or use `` .( '' instead which works in interpret mode, like this: .( Welcome to FreeSBIE) If you have further questions, feel free to ask. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "The last good thing written in C was Franz Schubert's Symphony number 9." -- Erwin Dieterich