commit 2a72976917300d32f3d6f603d99ebd233492f0e7 Author: SÅ‚awomir Paszkiewicz <paszc...@pld-linux.org> Date: Sat May 3 17:11:28 2014 +0200
- removed temporary files quagga-babeld.init~ | 75 ------------------------------------------------ quagga-babeld.logrotate~ | 9 ------ quagga-babeld.sysconfig~ | 18 ------------ 3 files changed, 102 deletions(-) --- diff --git a/quagga-babeld.init~ b/quagga-babeld.init~ deleted file mode 100644 index 2b7ec1b..0000000 --- a/quagga-babeld.init~ +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh -# -# bgpd Starts the Dynamic Route Daemon -# -# chkconfig: 345 15 84 -# -# description: Dynamic Route Daemon for IPv4 and IPv6 routers -# -# processname: bgpd -# config: /etc/zebra/bgpd.conf - - -# Source function library -. /etc/rc.d/init.d/functions - -# Get network config -. /etc/sysconfig/network - -# Get service config -[ -f /etc/sysconfig/bgpd ] && . /etc/sysconfig/bgpd - -# Check that networking is up. -if is_yes "${NETWORKING}"; then - if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then - msg_network_down bgpd - exit 1 - fi -else - exit 0 -fi - -RETVAL=0 -# See how we were called. -case "$1" in - start) - # Check if the services are already running? - if [ ! -f /var/lock/subsys/bgpd ]; then - FLAGS="--daemon" - is_yes "$RETAIN_ROUTES" && FLAGS="$FLAGS --retain" - is_yes "$NO_KERNEL" && FLAGS="$FLAGS --no_kernel" - [ -n "$VTY_ADDR" ] && FLAGS="$FLAGS --vty_addr $VTY_ADDR" - [ -n "$VTY_PORT" ] && FLAGS="$FLAGS --vty_port $VTY_PORT" - msg_starting bgpd - daemon bgpd $FLAGS - RETVAL=$? - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bgpd - else - msg_already_running "bgpd" - fi - ;; - stop) - if [ -f /var/lock/subsys/bgpd ]; then - # Stop daemons. - msg_stopping "bgpd" - killproc bgpd - rm -f /var/lock/subsys/bgpd - else - msg_not_running bgpd - fi - ;; - status) - status bgpd - exit $? - ;; - restart|force-reload) - $0 stop - $0 start - exit $? - ;; - *) - msg_usage "$0 {start|stop|restart|force-reload|status}" - exit 3 -esac - -exit $RETVAL diff --git a/quagga-babeld.logrotate~ b/quagga-babeld.logrotate~ deleted file mode 100644 index 650afcc..0000000 --- a/quagga-babeld.logrotate~ +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/quagga/bgpd.log { - su quagga quagga - missingok - olddir /var/log/archive/quagga - create 640 quagga quagga - postrotate - /bin/killall -USR1 bgpd >/dev/null 2>&1 - endscript -} diff --git a/quagga-babeld.sysconfig~ b/quagga-babeld.sysconfig~ deleted file mode 100644 index 4cf193d..0000000 --- a/quagga-babeld.sysconfig~ +++ /dev/null @@ -1,18 +0,0 @@ -# Customized setings for zebra bgpd - -# Nice level for routing daemon [-10 - +10] -SERVICE_RUN_NICE_LEVEL="+2" - -# When program terminates, retain added route by zebra. -#RETAIN_ROUTES=yes - -# Do not install route to kernel. -#NO_KERNEL=yes - -# The address that the bgpd VTY will listen on. -# Default is all intrefaces. -#VTY_ADDR=127.0.0.1 - -# The port that the bgpd VTY will listen on. -# Default is 2605. -#VTY_PORT=2605 ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/quagga.git/commitdiff/2a72976917300d32f3d6f603d99ebd233492f0e7 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit