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:
commit
b1fdb7abc7
@ -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.
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user