From 0a60c68af7028fe58c3ece088c85fd3a04eb9a1f Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 10 Oct 2008 22:27:30 -0700 Subject: Fix Bug 3751 configuring multiple global syslog facilities overwrites previous ones in /etc/syslog.conf - multiple nodes configured under 'system syslog global' are appended to syslog.conf - default '*.notice -/var/log/messages' is removed from syslog.conf if any node is configured under 'system syslog global' and is put back when nothing configured under 'system syslog global' - syslog process only restarted once after making all changes in config - added commit checks at 'system syslog <>' level nodes to specify facility --- scripts/system/vyatta_update_syslog.pl | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scripts') diff --git a/scripts/system/vyatta_update_syslog.pl b/scripts/system/vyatta_update_syslog.pl index a55fe615..e6a381f7 100755 --- a/scripts/system/vyatta_update_syslog.pl +++ b/scripts/system/vyatta_update_syslog.pl @@ -42,10 +42,4 @@ if ($update_line ne "") { } close OUT; -sleep 1; -if (system("/usr/sbin/invoke-rc.d sysklogd restart")) { - exit 5; -} - exit 0; - -- cgit v1.2.3