From owner-freebsd-questions@freebsd.org Thu Jun 14 16:43:38 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFA1D1012CA4 for ; Thu, 14 Jun 2018 16:43:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 28C6F739FE for ; Thu, 14 Jun 2018 16:43:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.97.38]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPA (Nemesis) id 0Ljgrt-1g51xL051t-00bwJi; Thu, 14 Jun 2018 18:43:30 +0200 Date: Thu, 14 Jun 2018 18:43:29 +0200 From: Polytropon To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: How to detect single user mode in FreeBSD ? Message-Id: <20180614184329.9646c28a.freebsd@edvax.de> In-Reply-To: <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> References: <20180613141217.a3ab7160a55398bf5ed56ef2@sohara.org> <5B21A915.3000209@gmail.com> <20180614083840.ddee5859bbc3640e03ccbc2d@sohara.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:2Cork5QNEvbFUlqw+T2sjY75MiF0TsmbO0NqWTbMPEFQtaM6Ei+ 6TvIJhWN7BluyelIsycaYGY8uN8GeV62M9EAV3ce++lHFgHuP8tLjkgmJIVg+LCoUUkcQTC Ghnqota9w69iLC3DJ2x3f4Ngs1MIRBogD/U3vrchneWRdkc5URcL7yOmEzcUG+I+eUvA/Xg bUGX3+vIuOCBcDkrmW7dA== X-UI-Out-Filterresults: notjunk:1;V01:K0:R6cQ2Le8RQ0=:qP/xD5DCm9QK6wraPIk6ke M0mjjcZqUDCgAFUcmP+tny3RIqslQ8/DeNq8GP+07FBGpyGKBw7FHiTl4PxheiHOZw1Q/JYsY sDHHlC97kTPeiyuB3FgLJZzK84nJN4Tyi8wW27aijvC6rGDmmXRu4hbDom1b9lg0MoDe2hYf0 Cv50krZB45V5rHlaURLTYUaVYYSkSAbjwNToTiwf93GJBLmFvMM+vDPrHK6JNZmlEZgYjgaFU MgbIFxvseYfG7MAX7py41kUsOCCsbu8VBfZLac38N7s5/5iU9zLdk5aD5ZvHVif8e9mdElJaP CNRkQqKUYZvAwbj+z/BcNLiXCggO903oreQtDPJt61/GyKzl1fPRioOF/KTzDbm7LH5qGrm51 6e5ng10dE7HxWH1Xqvt/y6ltwaMQeWVxe84PzNBk/d+iNVRvzVCOCvx0rLXOCoOQJwJe4QJCN DRUVfjhZF8mI2EtdYKnQE1k4XpUNVImEBX11pBY47i8MbU+AIgiELLNXHXF77wJnJoaaJAYaC wIW4JyZ3cUpxYvv8rPwQbyvMbDk5wMOw2fxaEGyvLpSiIZNTwNwNsJG0E56UhEbPVGPrfywuj aXO/FUlGrdioz4qIOWUfoqDt42I3+0OE7zR1u/JDi6CC4m4HXA1sEreIQa8Bz2k81SJboZDOe LFAFb/wgfaIL464AOVbTBPe1+9gkinuw7YGsa2rcKtGyUCWZ4GL3py19HsyWlopFiBISnKzxd +4vmmawX30cKKg8L X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2018 16:43:38 -0000 On Thu, 14 Jun 2018 08:38:40 +0100, Steve O'Hara-Smith wrote: > On Wed, 13 Jun 2018 17:30:29 -0600 > JD wrote: > > > To the original poster of this question: > > Does the command > > who -r > > still work in FBSD? > > It never did, and still doesn't. As FreeBSD doesn't have runlevels (SysV-specific thing), no command (!) will be able to print one. Maybe this will change when FreeBSD starts using systemd... ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...