From owner-freebsd-questions@FreeBSD.ORG Wed May 18 01:55:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFB51065670 for ; Wed, 18 May 2011 01:55:19 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp5.iomartmail.com (asmtp5.iomartmail.com [62.128.201.176]) by mx1.freebsd.org (Postfix) with ESMTP id 5793B8FC13 for ; Wed, 18 May 2011 01:55:18 +0000 (UTC) Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p4I1tFL3013547; Wed, 18 May 2011 02:55:15 +0100 Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p4I1tEmP013540; Wed, 18 May 2011 02:55:14 +0100 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id BF51633C50; Tue, 17 May 2011 02:27:44 +0100 (BST) Date: Tue, 17 May 2011 02:27:44 +0100 From: Frank Shute To: Alexander Lardner Message-ID: <20110517012744.GA64176@orange.esperance-linux.co.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-RC2 amd64 X-Organisation: 'shute.org.uk' Cc: FreeBSD Questions Subject: Re: Input file for shutdown warning? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 01:55:19 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 16, 2011 at 05:38:21PM -0700, Alexander Lardner wrote: > > Hello, > Is it possible to do something like this: >=20 > shutdown -p now /root/somefile >=20 > How would I do that, or is it even possible? > Thanks, > Alex Use wall(1) # wall somefile && shutdown -p now Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk3Rzw8ACgkQHduKvUAgeK7UIQCfXZiAbzRkgFLx0HNPxF4vZQLj IUgAoM3b+pvpECg8JMmxgZiRZW06EWk/ =WLw+ -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--