From 7eaed897e86e6a35156422aaae97ba9a88824067 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 15 Mar 2013 20:00:35 +0000 Subject: [PATCH] Properly restart syslog when dhcp says to git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-builder/dhclient-script | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-genesis-builder/dhclient-script b/xCAT-genesis-builder/dhclient-script index 48a42161f..96b3e4a10 100755 --- a/xCAT-genesis-builder/dhclient-script +++ b/xCAT-genesis-builder/dhclient-script @@ -43,7 +43,8 @@ elif [ $reason = "BOUND" ]; then for ls in $new_log_servers; do echo *.* @$ls >> /etc/rsyslog.conf done - kill -1 `cat /var/run/syslogd.pid` + kill `cat /var/run/syslogd.pid` + ( sleep 3;/sbin/rsyslogd -c4 ) & if [ ! -z "$new_tcode" -a -r "/usr/share/zoneinfo/posix/$new_tcode" ]; then cp "/usr/share/zoneinfo/posix/$new_tcode" /etc/localtime