From 2d9f7c9d0c2c1e71cc25a66a6bb5b9f69218c030 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 5 May 2009 16:31:08 +0000 Subject: [PATCH] avoid duplication with rsyslogd --- plc.d/syslog | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100755 plc.d/syslog diff --git a/plc.d/syslog b/plc.d/syslog deleted file mode 100755 index e58cf18..0000000 --- a/plc.d/syslog +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash -# -# priority: 200 -# -# Do not use the standard syslog initscript. It will start up a -# (probably duplicate) copy of klogd, and on shutdown, if a pidfile is -# not found, will (probably) kill the host syslogd and klogd instances -# as well. -# -# Mark Huang -# Copyright (C) 2006 The Trustees of Princeton University -# -# $Id$ -# - -# Source function library and configuration -. /etc/plc.d/functions -. /etc/planetlab/plc_config - -# Be verbose -set -x - -# fedora 8 comes with a new name for the binary -if type rsyslogd &> /dev/null ; then - syslogname=rsyslogd -else - syslogname=syslogd -fi - -case "$1" in - start) - MESSAGE=$"Starting system logger" - dialog "$MESSAGE" - - plc_daemon $syslogname -m 0 - check - - result "$MESSAGE" - ;; - - stop) - MESSAGE=$"Shutting down system logger" - dialog "$MESSAGE" - - killproc plc_$syslogname - check - - result "$MESSAGE" - ;; -esac - -exit $ERRORS -- 2.47.0