summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2008-08-14 06:47:38 +0000
committerTiziano Müller <dev-zero@gentoo.org>2008-08-14 06:47:38 +0000
commit0bee7b01260f995b74c693edff4ca13ef17d77f7 (patch)
treee7e14919223f69649ed464695d44e08075f4592e /app-admin/rsyslog/files
parentremove unused fluidsynth use flag (diff)
downloadgentoo-2-0bee7b01260f995b74c693edff4ca13ef17d77f7.tar.gz
gentoo-2-0bee7b01260f995b74c693edff4ca13ef17d77f7.tar.bz2
gentoo-2-0bee7b01260f995b74c693edff4ca13ef17d77f7.zip
Added provide logger to init.d-scripts (thanks to Jon Gerdes, bug #234640).
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'app-admin/rsyslog/files')
-rw-r--r--app-admin/rsyslog/files/3-devel/rsyslog.init6
-rw-r--r--app-admin/rsyslog/files/3-stable/rsyslog.init6
2 files changed, 10 insertions, 2 deletions
diff --git a/app-admin/rsyslog/files/3-devel/rsyslog.init b/app-admin/rsyslog/files/3-devel/rsyslog.init
index 888328c4042c..a2fdde55d6d8 100644
--- a/app-admin/rsyslog/files/3-devel/rsyslog.init
+++ b/app-admin/rsyslog/files/3-devel/rsyslog.init
@@ -1,10 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-devel/rsyslog.init,v 1.1 2008/04/09 17:32:55 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-devel/rsyslog.init,v 1.2 2008/08/14 06:47:38 dev-zero Exp $
opts="reload"
+depend() {
+ provide logger
+}
+
start() {
ebegin "Starting rsyslogd"
start-stop-daemon \
diff --git a/app-admin/rsyslog/files/3-stable/rsyslog.init b/app-admin/rsyslog/files/3-stable/rsyslog.init
index e478f4ae53bf..3b09da6be910 100644
--- a/app-admin/rsyslog/files/3-stable/rsyslog.init
+++ b/app-admin/rsyslog/files/3-stable/rsyslog.init
@@ -1,10 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-stable/rsyslog.init,v 1.1 2008/04/09 17:32:56 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/3-stable/rsyslog.init,v 1.2 2008/08/14 06:47:38 dev-zero Exp $
opts="reload"
+depend() {
+ provide logger
+}
+
start() {
ebegin "Starting rsyslogd"
start-stop-daemon \