summaryrefslogtreecommitdiff
path: root/src/timedate
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-20 20:51:18 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-20 20:51:18 +0200
commit462ff40e654a956c332eca9e4e6fd40344b4dd2e (patch)
treef288d22be5356bca3733c870bfad1608defa263e /src/timedate
parentaaccc32cdc44b2b972946e44792d63ae17c089c2 (diff)
timedated: /etc/sysconfig/clock is dead on Fedora, remove it
Diffstat (limited to 'src/timedate')
-rw-r--r--src/timedate/timedated.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c
index 0ebdb3c477..8c589ba30e 100644
--- a/src/timedate/timedated.c
+++ b/src/timedate/timedated.c
@@ -176,15 +176,6 @@ static int read_data(void) {
}
}
-#ifdef TARGET_FEDORA
- r = parse_env_file("/etc/sysconfig/clock", NEWLINE,
- "ZONE", &tz.zone,
- NULL);
-
- if (r < 0 && r != -ENOENT)
- log_warning("Failed to read /etc/sysconfig/clock: %s", strerror(-r));
-#endif
-
#ifdef HAVE_DEBIAN
r = read_one_line_file("/etc/timezone", &tz.zone);
if (r < 0) {