From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 15:07:36 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C4D16A4CE for ; Mon, 30 Aug 2004 15:07:36 +0000 (GMT) Received: from web50603.mail.yahoo.com (web50603.mail.yahoo.com [206.190.38.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 8386243D41 for ; Mon, 30 Aug 2004 15:07:36 +0000 (GMT) (envelope-from kstailey@yahoo.com) Message-ID: <20040830135311.11040.qmail@web50603.mail.yahoo.com> Received: from [69.138.247.171] by web50603.mail.yahoo.com via HTTP; Mon, 30 Aug 2004 06:53:11 PDT Date: Mon, 30 Aug 2004 06:53:11 -0700 (PDT) From: Kenneth Stailey To: freebsd-current@freebsd.org In-Reply-To: <20040829213449.GA33843@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: suggestion for /usr/src/UPDATING X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 15:07:37 -0000 --- David O'Brien wrote: > On Sun, Aug 29, 2004 at 07:10:44AM -0700, Kenneth Stailey wrote: > > Can a one-line example of how to invoke adduser to add new accounts like > > "proxy" be added to /usr/src/UPDATING? That way people could just > > cut-and-paste the accounts into place when upgrading. > > I've been trying to get RE@ to embelish this script and commit it to > RELENG_5 to help with things like this: > > $ cat /usr/src/upgrade4ot5.sh > #! /bin/sh > > # Some people don't read hier(9) and symlink /tmp and /var/tmp, > # and /tmp can get cleared... > > SENTINEL=/$(basename %0) > > if [ ! -f ${SENTINEL}.kernel-done ]; then > make buildworld && make buildkernel > # install /boot/device.hints > make installkernel > # install new loader > touch ${SENTINEL}.kernel-done > reboot > else > mergemaster -p > make installworld > mergemaster -i > rm ${SENTINEL}.* > reboot > endif mergemasters is gross. Have you ever tried to run it on an 80-column display? I absolutely hate the "left" "right" stuff. You push the "l" with your right hand and the "r" with your left for crying out loud.