summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-08-02 20:51:32 +0000
committerMike Gilbert <floppym@gentoo.org>2012-08-02 20:51:32 +0000
commitb19224519fff925e7343050eca7b6c84545dee4b (patch)
tree376fa9295166a540db49c336edfd55e635b78d55 /net-dialup/xl2tpd
parentarm stable, bug #427774 (diff)
downloadgentoo-2-b19224519fff925e7343050eca7b6c84545dee4b.tar.gz
gentoo-2-b19224519fff925e7343050eca7b6c84545dee4b.tar.bz2
gentoo-2-b19224519fff925e7343050eca7b6c84545dee4b.zip
Remove bashism.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup/xl2tpd')
-rw-r--r--net-dialup/xl2tpd/ChangeLog8
-rw-r--r--net-dialup/xl2tpd/files/xl2tpd-init6
2 files changed, 8 insertions, 6 deletions
diff --git a/net-dialup/xl2tpd/ChangeLog b/net-dialup/xl2tpd/ChangeLog
index 6e47b5a0be64..9c4c3e906bc7 100644
--- a/net-dialup/xl2tpd/ChangeLog
+++ b/net-dialup/xl2tpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/xl2tpd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/ChangeLog,v 1.26 2011/11/12 09:16:28 hwoarang Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/ChangeLog,v 1.27 2012/08/02 20:51:32 floppym Exp $
+
+ 02 Aug 2012; Mike Gilbert <floppym@gentoo.org> files/xl2tpd-init:
+ Remove bashism.
12 Nov 2011; Markos Chandras <hwoarang@gentoo.org> xl2tpd-1.3.0.ebuild:
Stable on amd64 wrt bug #389915
@@ -134,4 +137,3 @@
30 May 2006; Alin Nastac <mrness@gentoo.org> +files/l2tpd-init,
+metadata.xml, +xl2tpd-1.04.ebuild:
Initial import from bug #134029, thanks to Alexandre Ghisoli <alex@ghisoli.ch>.
-
diff --git a/net-dialup/xl2tpd/files/xl2tpd-init b/net-dialup/xl2tpd/files/xl2tpd-init
index 639007b577ae..8d0d5dd9371b 100644
--- a/net-dialup/xl2tpd/files/xl2tpd-init
+++ b/net-dialup/xl2tpd/files/xl2tpd-init
@@ -1,14 +1,14 @@
#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-init,v 1.2 2007/03/05 10:50:54 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/xl2tpd/files/xl2tpd-init,v 1.3 2012/08/02 20:51:32 floppym Exp $
depend() {
need net
}
checkconfig() {
- if [[ ! -f /etc/xl2tpd/xl2tpd.conf ]] ; then
+ if [ ! -f /etc/xl2tpd/xl2tpd.conf ] ; then
eerror "Missing /etc/xl2tpd/xl2tpd.conf configuration file!"
eerror "Example configuration file could be found in doc directory."
return 1