From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 50836138C48 for ; Sun, 12 Apr 2015 20:13:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B246EE0A6C; Sun, 12 Apr 2015 20:13:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 403CEE0A6C for ; Sun, 12 Apr 2015 20:13:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7962A34097F for ; Sun, 12 Apr 2015 20:13:28 +0000 (UTC) Received: by oystercatcher.gentoo.org (Postfix, from userid 559) id D13F915C88; Sun, 12 Apr 2015 20:13:24 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/cryptsetup/files: 1.5.1-dmcrypt.rc X-VCS-Repository: gentoo-x86 X-VCS-Files: 1.5.1-dmcrypt.rc X-VCS-Directories: sys-fs/cryptsetup/files X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: <20150412201324.D13F915C88@oystercatcher.gentoo.org> Date: Sun, 12 Apr 2015 20:13:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c3705743-3a1b-4d22-8b66-d45a99ca5838 X-Archives-Hash: dc617944762e18f8c363597d6503ae72 vapier 15/04/12 20:13:24 Modified: 1.5.1-dmcrypt.rc Log: Automatically run before swap when creating swap files #509412 by Toralf Förster. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200) Revision Changes Path 1.4 sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc?r1=1.3&r2=1.4 Index: 1.5.1-dmcrypt.rc =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- 1.5.1-dmcrypt.rc 12 Apr 2015 20:03:54 -0000 1.3 +++ 1.5.1-dmcrypt.rc 12 Apr 2015 20:13:24 -0000 1.4 @@ -1,10 +1,14 @@ #!/sbin/runscript # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc,v 1.3 2015/04/12 20:03:54 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/files/1.5.1-dmcrypt.rc,v 1.4 2015/04/12 20:13:24 vapier Exp $ depend() { before checkfs fsck + + if grep -qs ^swap= "${conf_file}" ; then + before swap + fi } # We support multiple dmcrypt instances based on $SVCNAME