From owner-freebsd-current@FreeBSD.ORG Sun Aug 29 21:34:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 664) id B62B216A4CF; Sun, 29 Aug 2004 21:34:49 +0000 (GMT) Date: Sun, 29 Aug 2004 21:34:49 +0000 From: David O'Brien To: Kenneth Stailey Message-ID: <20040829213449.GA33843@hub.freebsd.org> References: <20040829141044.98464.qmail@web50601.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040829141044.98464.qmail@web50601.mail.yahoo.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.10-STABLE Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-current@freebsd.org Subject: Re: suggestion for /usr/src/UPDATING X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 21:34:49 -0000 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