SHA256
1
0
forked from pool/dhcp

Accepting request 198233 from network:dhcp

- Fixed to reload syslog on hostname changes using systemctl as
  there is no /etc/init.d/syslog script since syslog-service-2.0
  (bnc#830467).

OBS-URL: https://build.opensuse.org/request/show/198233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dhcp?expand=0&rev=81
This commit is contained in:
Stephan Kulow 2013-09-11 09:29:55 +00:00 committed by Git OBS Bridge
commit b1fdb7abc7
2 changed files with 15 additions and 4 deletions

View File

@ -279,9 +279,13 @@ set_hostname()
commit_cached_config_data $interface commit_cached_config_data $interface
# reload syslog so it knows the new hostname # reload syslog so it knows the new hostname
if test -x /usr/sbin/systemctl ; then
/usr/sbin/systemctl reload syslog.service
else
/etc/init.d/syslog reload /etc/init.d/syslog reload
fi fi
fi fi
fi
} }
# Must be used on exit. Invokes the local dhcp client exit hooks, if any. # Must be used on exit. Invokes the local dhcp client exit hooks, if any.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 10 13:04:10 UTC 2013 - mt@suse.com
- Fixed to reload syslog on hostname changes using systemctl as
there is no /etc/init.d/syslog script since syslog-service-2.0
(bnc#830467).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 26 09:27:19 UTC 2013 - mmeister@suse.com Fri Apr 26 09:27:19 UTC 2013 - mmeister@suse.com