* [gentoo-commits] gentoo-x86 commit in net-misc/quagga/files: quagga-services.init.3
@ 2011-10-21 22:51 Diego Petteno (flameeyes)
0 siblings, 0 replies; 3+ messages in thread
From: Diego Petteno (flameeyes) @ 2011-10-21 22:51 UTC (permalink / raw
To: gentoo-commits
flameeyes 11/10/21 22:51:52
Added: quagga-services.init.3
Log:
Bump to add a patch to fix bug #387375; take the chance to merge the two init scripts, so that zebra is the only real script, and the rest are actually symlinks.
(Portage version: 2.2.0_alpha69/cvs/Linux x86_64)
Revision Changes Path
1.1 net-misc/quagga/files/quagga-services.init.3
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.1&content-type=text/plain
Index: quagga-services.init.3
===================================================================
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v 1.1 2011/10/21 22:51:52 flameeyes Exp $
: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
pidfile=/var/run/quagga/${SVCNAME}.pid
command=/usr/sbin/${SVCNAME}
command_args="-d -f ${CFGFILE} ${EXTRA_OPTS} --pid_file ${pidfile}"
get_service_config() {
[ -e "$CFGFILE" ] || return
awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
}
depend() {
config "$CFGFILE"
[ ${SVCNAME} = "zebra" ] && need net || need zebra
[ "$(get_service_config log)" = "syslog" ] && \
use logger
}
start_pre() {
if [ ! -e "${CFGFILE}" ] ; then
eerror "Before starting ${SVCNAME} you have to configure it, by creating"
eerror "a ${CFGFILE} file."
eerror ""
eerror "A sample file has been installed in `ls /usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample`"
return 1
fi
checkpath -d -m 0750 -o quagga:quagga /var/run/quagga
if [ ${SVCNAME} = "zebra" ]; then
ebegin "Cleaning up stale zebra routes..."
ip route flush proto zebra
eend $?
fi
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/quagga/files: quagga-services.init.3
@ 2012-12-05 22:48 Jeroen Roovers (jer)
0 siblings, 0 replies; 3+ messages in thread
From: Jeroen Roovers (jer) @ 2012-12-05 22:48 UTC (permalink / raw
To: gentoo-commits
jer 12/12/05 22:48:59
Modified: quagga-services.init.3
Log:
Fix error message in init.d script.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path
1.2 net-misc/quagga/files/quagga-services.init.3
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?r1=1.1&r2=1.2
Index: quagga-services.init.3
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- quagga-services.init.3 21 Oct 2011 22:51:52 -0000 1.1
+++ quagga-services.init.3 5 Dec 2012 22:48:59 -0000 1.2
@@ -1,7 +1,7 @@
#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v 1.1 2011/10/21 22:51:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v 1.2 2012/12/05 22:48:59 jer Exp $
: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
@@ -30,7 +30,7 @@
eerror "Before starting ${SVCNAME} you have to configure it, by creating"
eerror "a ${CFGFILE} file."
eerror ""
- eerror "A sample file has been installed in `ls /usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample`"
+ eerror "A sample file has been installed in `echo /usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample*`"
return 1
fi
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-misc/quagga/files: quagga-services.init.3
@ 2013-04-23 9:25 Sergey Popov (pinkbyte)
0 siblings, 0 replies; 3+ messages in thread
From: Sergey Popov (pinkbyte) @ 2013-04-23 9:25 UTC (permalink / raw
To: gentoo-commits
pinkbyte 13/04/23 09:25:18
Modified: quagga-services.init.3
Log:
Version bump, wrt bug #466578, thanks to David Lamparter. Minor path fix in initscript
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Revision Changes Path
1.3 net-misc/quagga/files/quagga-services.init.3
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/files/quagga-services.init.3?r1=1.2&r2=1.3
Index: quagga-services.init.3
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- quagga-services.init.3 5 Dec 2012 22:48:59 -0000 1.2
+++ quagga-services.init.3 23 Apr 2013 09:25:18 -0000 1.3
@@ -1,11 +1,11 @@
#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v 1.2 2012/12/05 22:48:59 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/files/quagga-services.init.3,v 1.3 2013/04/23 09:25:18 pinkbyte Exp $
: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
-pidfile=/var/run/quagga/${SVCNAME}.pid
+pidfile=/run/quagga/${SVCNAME}.pid
command=/usr/sbin/${SVCNAME}
command_args="-d -f ${CFGFILE} ${EXTRA_OPTS} --pid_file ${pidfile}"
@@ -34,7 +34,7 @@
return 1
fi
- checkpath -d -m 0750 -o quagga:quagga /var/run/quagga
+ checkpath -d -m 0750 -o quagga:quagga /run/quagga
if [ ${SVCNAME} = "zebra" ]; then
ebegin "Cleaning up stale zebra routes..."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-23 9:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 22:48 [gentoo-commits] gentoo-x86 commit in net-misc/quagga/files: quagga-services.init.3 Jeroen Roovers (jer)
-- strict thread matches above, loose matches on Subject: below --
2013-04-23 9:25 Sergey Popov (pinkbyte)
2011-10-21 22:51 Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox