From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SBx3y-0006DW-N0 for garchives@archives.gentoo.org; Sun, 25 Mar 2012 23:41:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D9B2E062B; Sun, 25 Mar 2012 23:41:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F67CE062B for ; Sun, 25 Mar 2012 23:41:13 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 559691B404A for ; Sun, 25 Mar 2012 23:41:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1914DE5402 for ; Sun, 25 Mar 2012 23:41:11 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1332718693.533813dda03d4b3cd1685f4063e314ae0539267e.WilliamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: init.d/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/localmount.in X-VCS-Directories: init.d/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 533813dda03d4b3cd1685f4063e314ae0539267e X-VCS-Branch: master Date: Sun, 25 Mar 2012 23:41:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9c01a028-edc7-4882-9994-ffc4f5e7155b X-Archives-Hash: 84a177b26f5913eb2758a8c50ad4527c commit: 533813dda03d4b3cd1685f4063e314ae0539267e Author: William Hubbs gentoo org> AuthorDate: Sun Mar 25 23:29:37 2012 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Mar 25 23:38:13 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D533813dd localmount: Only unmount local filesystems if we are shutting down Make the stop function in localmount only unmount file systems when the system is going down. reported-by: Alexey Prokopchuk homelan.lg.ua> X-Gentoo-Bug: 407167 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=3D407167 --- init.d/localmount.in | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/init.d/localmount.in b/init.d/localmount.in index 158bafc..de0b08b 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -33,6 +33,7 @@ start() =20 stop() { + yesno $RC_GOINGDOWN || return 0 # We never unmount / or /dev or $RC_SVCDIR =20 # Bug 381783