diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-08-18 16:42:13 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-08-18 16:42:13 +0000 |
commit | ef9f81db4d0a453c5b770867c60c4c3fb2d3edfa (patch) | |
tree | 8b73a47fbc0c41ab7ddcecb4f1521cbf71956e17 /app-admin/syslog-ng | |
parent | Fix array stripping with patch from Chet #60127 (Manifest recommit) (diff) | |
download | gentoo-2-ef9f81db4d0a453c5b770867c60c4c3fb2d3edfa.tar.gz gentoo-2-ef9f81db4d0a453c5b770867c60c4c3fb2d3edfa.tar.bz2 gentoo-2-ef9f81db4d0a453c5b770867c60c4c3fb2d3edfa.zip |
Add xargs into the init-script to make parsing conf file more robust #60487
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r-- | app-admin/syslog-ng/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6 | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index fb69169de1ab..b2a60f638b6f 100644 --- a/app-admin/syslog-ng/ChangeLog +++ b/app-admin/syslog-ng/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/syslog-ng # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.64 2004/08/16 22:28:39 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.65 2004/08/18 16:42:13 agriffis Exp $ + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.rc6: + Add xargs into the init-script to make parsing conf file more robust #60487 *syslog-ng-1.6.5 (16 Aug 2004) diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6 b/app-admin/syslog-ng/files/syslog-ng.rc6 index 608dfc6f52bc..376f950057b5 100644 --- a/app-admin/syslog-ng/files/syslog-ng.rc6 +++ b/app-admin/syslog-ng/files/syslog-ng.rc6 @@ -1,13 +1,13 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.14 2004/08/05 01:05:13 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.15 2004/08/18 16:42:13 agriffis Exp $ opts="depend checkconfig start stop reload" depend() { - # make networking dependency conditional on configuration - sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | \ + # Make networking dependency conditional on configuration + sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | xargs | \ grep -Eq '(source|destination).*(tcp|udp)' && need net need clock hostname |