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
This commit is contained in:
parent
16642a0810
commit
7eaed897e8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user