From owner-freebsd-questions Thu Feb 27 12:24:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB34037B401 for ; Thu, 27 Feb 2003 12:24:11 -0800 (PST) Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D55FC43FDF for ; Thu, 27 Feb 2003 12:24:10 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18oUZe-000034-00 for FreeBSD-questions@FreeBSD.org; Thu, 27 Feb 2003 20:24:10 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id C4C48C6D0 for ; Thu, 27 Feb 2003 21:24:08 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 83E6EC64E for ; Thu, 27 Feb 2003 21:23:58 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id 33189225F2; Thu, 27 Feb 2003 21:23:59 +0100 (CET) Date: Thu, 27 Feb 2003 21:23:59 +0100 From: Cliff Sarginson To: FreeBSD Questions Subject: single user mode Message-ID: <20030227202359.GA4488@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.3i X-Virus-Scanned: by AMaViS 0.3.12pre8 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, No I can think of kludgy ways to do this, but I want to know the way it should be done. How can you tell from with a shell script whether you are in single-user mode or not ? -- Regards Cliff [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message