Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
systemd-mini.1472
timedate-add-support-for-openSUSE-version-of-et...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch of Package systemd-mini.1472
From: Frederic Crozat <fcrozat@suse.com> Date: Tue, 14 Aug 2012 14:26:16 +0200 Subject: timedate: add support for openSUSE version of /etc/sysconfig/clock --- src/timedate/timedated.c | 7 +++++++ 1 file changed, 7 insertions(+) --- systemd-206_git201308300826.orig/src/timedate/timedated.c +++ systemd-206_git201308300826/src/timedate/timedated.c @@ -182,6 +182,13 @@ static int read_data(void) { goto have_timezone; } } +#ifdef HAVE_SYSV_COMPAT + r = parse_env_file("/etc/sysconfig/clock", NEWLINE, + "TIMEZONE", &c->zone, + NULL); + if (r < 0 && r != -ENOENT) + log_warning("Failed to read /etc/sysconfig/clock: %s", strerror(-r)); +#endif have_timezone: if (isempty(c->zone)) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor