From: Torsten Veller Date: Thu, 22 Mar 2007 14:32:09 +0000 (+0000) Subject: Removed bashism from initscript (#171752) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=70266eb90e72ebf578bd5399500abd8ca15653ac;p=gentoo.git Removed bashism from initscript (#171752) Package-Manager: portage-2.1.2.2 --- diff --git a/net-misc/chrony/ChangeLog b/net-misc/chrony/ChangeLog index 17bfbcfee26c..275558368bf1 100644 --- a/net-misc/chrony/ChangeLog +++ b/net-misc/chrony/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/chrony # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.35 2007/03/12 10:39:01 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/ChangeLog,v 1.36 2007/03/22 14:32:09 tove Exp $ + + 22 Mar 2007; Torsten Veller files/chronyd.rc: + Removed bashism from initscript (#171752) 12 Mar 2007; Torsten Veller -files/chrony-1.20-sys_linux.c-gentoo.diff, diff --git a/net-misc/chrony/Manifest b/net-misc/chrony/Manifest index abb7cd388593..6fb662f1d7fc 100644 --- a/net-misc/chrony/Manifest +++ b/net-misc/chrony/Manifest @@ -21,20 +21,20 @@ AUX chronyd.conf 589 RMD160 7f96720d5e901b70a9bc3215d14f00cbd5750176 SHA1 1ae94b MD5 1d938108f3d5c11a61cdcdd2b8c5d6c0 files/chronyd.conf 589 RMD160 7f96720d5e901b70a9bc3215d14f00cbd5750176 files/chronyd.conf 589 SHA256 41e9bac3951691d792c6b53d91e9a4615262824482bb5f1bcf0dcd09078cc608 files/chronyd.conf 589 -AUX chronyd.rc 1566 RMD160 4ab439fb439b6efac53a595837c1067e771f072f SHA1 929be1d11abe9e3182114bee5dc7a3ef6886f2fe SHA256 c7e62cef77106eb531fa4000fc3e039f5fbc1a63ebb0bba140f642c0c1aae51d -MD5 519712266fb09ea5a7275b55fcafe78c files/chronyd.rc 1566 -RMD160 4ab439fb439b6efac53a595837c1067e771f072f files/chronyd.rc 1566 -SHA256 c7e62cef77106eb531fa4000fc3e039f5fbc1a63ebb0bba140f642c0c1aae51d files/chronyd.rc 1566 +AUX chronyd.rc 1562 RMD160 43630070dd1571faecc1933b3bd6b5490b76d903 SHA1 1abf6e6d3cb4b2b33c3c291cd4f9efb0df8a47a4 SHA256 e6577a8475aaf71a7dc0fa5c0d2e8271ee71b9302c33e6ffaf3a9c60c8c7bfd5 +MD5 dac8aa4913d7c323abfa1719ddd7e5e4 files/chronyd.rc 1562 +RMD160 43630070dd1571faecc1933b3bd6b5490b76d903 files/chronyd.rc 1562 +SHA256 e6577a8475aaf71a7dc0fa5c0d2e8271ee71b9302c33e6ffaf3a9c60c8c7bfd5 files/chronyd.rc 1562 DIST chrony-1.21-patches-1.tar.bz2 5093 RMD160 c278b29087751395e934fc47866f2e377247cfbd SHA1 498dfcb1c46ca7cdf1914dfef41ba96369b2f6ae SHA256 97568234a0844f54deab250d049c2f30de2dde48c216ca3d12a070e367516dce DIST chrony-1.21.tar.gz 310709 RMD160 5a758608b0ff0d578b3d4597f4ee6ef740492b9b SHA1 fd274296eb1af0bd558e57c6b1c219e3054e9de8 SHA256 baca3d36e6f458bed31c82f08f3c5f9d61b43baafc4d17f3e0a74dec7ff737d3 EBUILD chrony-1.21-r1.ebuild 2159 RMD160 b35778a53cc0777b05c8c3a69f682b2e1ac0381e SHA1 33d3621417c259fb5f104d9da9cf3b687c77f9e4 SHA256 588bd58e02cb9c697767e19ea926b3e826f93d1fa31a1688d3216ad43beadb3b MD5 b09df91703a8a2e02db36ec02e36ce50 chrony-1.21-r1.ebuild 2159 RMD160 b35778a53cc0777b05c8c3a69f682b2e1ac0381e chrony-1.21-r1.ebuild 2159 SHA256 588bd58e02cb9c697767e19ea926b3e826f93d1fa31a1688d3216ad43beadb3b chrony-1.21-r1.ebuild 2159 -MISC ChangeLog 4734 RMD160 8678376ac3f33b78c7183e314a24e184043ca72a SHA1 4e061e4dbd104cb93b9994479e85b5e82b1f44a7 SHA256 680d7effe084836a5bf37357da6971d950c9c04d123b82c46a89f6f65b3d1776 -MD5 e7dafdbae7bf4fd8a48e9ffe619b5ce4 ChangeLog 4734 -RMD160 8678376ac3f33b78c7183e314a24e184043ca72a ChangeLog 4734 -SHA256 680d7effe084836a5bf37357da6971d950c9c04d123b82c46a89f6f65b3d1776 ChangeLog 4734 +MISC ChangeLog 4845 RMD160 ac4dc05f746383fbb94f712430bd714809907dd7 SHA1 dc8f19a644b0851ba0f5a8d475773155ad3a0d58 SHA256 fc72771eaf566fb5bf5523916928f119442d770376e818733d1d4307aeb4bb09 +MD5 4a7fc9eed58f899c3ba1ab495220d599 ChangeLog 4845 +RMD160 ac4dc05f746383fbb94f712430bd714809907dd7 ChangeLog 4845 +SHA256 fc72771eaf566fb5bf5523916928f119442d770376e818733d1d4307aeb4bb09 ChangeLog 4845 MISC metadata.xml 1015 RMD160 bc4f53cbd06cae4ff0a69ba174b833e91ad5440c SHA1 69d13ba674429a8c83b9f44ed5041622307ce3cc SHA256 a7aea8351438b01c2f11e779007851f07c3bddfac99a2f1a87addbbdef15cb64 MD5 ba90673e1587f5db474645441572737c metadata.xml 1015 RMD160 bc4f53cbd06cae4ff0a69ba174b833e91ad5440c metadata.xml 1015 @@ -45,7 +45,7 @@ SHA256 ce1d5871f430ff58f908e8772008355f2557ed4db720e5d95aa5c512ea8f02d1 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFF9S3MV3J2n04EauwRAkaUAKCxTdtR2Jjzzygstav64OfXYNyZ3wCeKbfL -Ykl0bP3xFmOBCMv7lwSK5Zs= -=vO8s +iD8DBQFGApNvV3J2n04EauwRAtQMAJwNyFxIBptgIL/lIdzclY6zEaxDtwCfY65S +RpTxBz7hWpHLp6Rp5npOcn8= +=n/Hq -----END PGP SIGNATURE----- diff --git a/net-misc/chrony/files/chronyd.rc b/net-misc/chrony/files/chronyd.rc index caee53d1245d..49d7526bb587 100644 --- a/net-misc/chrony/files/chronyd.rc +++ b/net-misc/chrony/files/chronyd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/files/chronyd.rc,v 1.7 2006/03/25 09:50:41 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/files/chronyd.rc,v 1.8 2007/03/22 14:32:09 tove Exp $ depend() { need net @@ -13,7 +13,7 @@ checkconfig() { # is because the user may have specified another key # file, and we don't want to force the user to use that # exact name for the key file. - if [[ ! -f ${CFGFILE} ]] ; then + if [ ! -f "${CFGFILE}" ] ; then eerror "Please create ${CFGFILE} and the" eerror "chrony key file (usually /etc/chrony/chrony.keys)" eerror "by using the" @@ -36,7 +36,7 @@ checkconfig() { start() { checkconfig || return $? - [[ -n "${PIDFILE}" ]] || PIDFILE=/var/run/chronyd.pid + [ -n "${PIDFILE}" ] || PIDFILE=/var/run/chronyd.pid ebegin "Starting chronyd" start-stop-daemon --start --quiet \ @@ -49,7 +49,7 @@ start() { stop() { checkconfig || return $? - [[ -n "${PIDFILE}" ]] || PIDFILE=/var/run/chronyd.pid + [ -n "${PIDFILE}" ] || PIDFILE=/var/run/chronyd.pid ebegin "Stopping chronyd" start-stop-daemon --stop --quiet \