diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-01 12:36:44 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-01 12:36:44 +0000 |
commit | dc9835562e2b877a4193c20fd65a70ef9d25d88f (patch) | |
tree | c16c3e6ff058befedfe01db2801791ba263b382d /sys-apps | |
parent | stable x86, bug 208366 (diff) | |
download | gentoo-2-dc9835562e2b877a4193c20fd65a70ef9d25d88f.tar.gz gentoo-2-dc9835562e2b877a4193c20fd65a70ef9d25d88f.tar.bz2 gentoo-2-dc9835562e2b877a4193c20fd65a70ef9d25d88f.zip |
Update init script to work with current development version of OpenRC (checkroot -> root; checkfs -> fsck).
(Portage version: 2.1.4.1)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/util-linux/ChangeLog | 7 | ||||
-rwxr-xr-x | sys-apps/util-linux/files/crypto-loop.initd | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog index 7662e657528a..4353204d1af5 100644 --- a/sys-apps/util-linux/ChangeLog +++ b/sys-apps/util-linux/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/util-linux # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.223 2008/01/20 11:54:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.224 2008/02/01 12:36:43 flameeyes Exp $ + + 01 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> + files/crypto-loop.initd: + Update init script to work with current development version of OpenRC + (checkroot -> root; checkfs -> fsck). 20 Jan 2008; Mike Frysinger <vapier@gentoo.org> util-linux-2.13.0.1.ebuild, util-linux-2.13.1.ebuild: diff --git a/sys-apps/util-linux/files/crypto-loop.initd b/sys-apps/util-linux/files/crypto-loop.initd index 21e0ef9525b0..2886982d3149 100755 --- a/sys-apps/util-linux/files/crypto-loop.initd +++ b/sys-apps/util-linux/files/crypto-loop.initd @@ -1,11 +1,16 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.2 2007/10/05 23:26:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/files/crypto-loop.initd,v 1.3 2008/02/01 12:36:44 flameeyes Exp $ depend() { - need checkroot modules - before localmount + if [ -x /etc/init.d/root ]; then + need root + else + need checkroot + fi + need modules + before localmount } start() { |