diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:18:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-06 19:18:17 +0200 |
commit | 4466194c43a25bc51b21226f04245131e698bb3f (patch) | |
tree | 939feb948ffe98df5b7aeaa7052499124d0ee35d /src | |
parent | cebe0d41e4d5b3fdd9d521116cc029bcb819c90d (diff) |
units: rename rtc-set.target to time-sync.target and pull it in by hwclock-load.service
On request of Miroslav Lichvar, rename rtc-set.target to
time-sync.target since usually the RTC chip isn't involved at all in NTP
syncs.
Also, pull it in by hwclock-load.service.
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 | ||||
-rw-r--r-- | src/special.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index a297cd9117..7f8d005f00 100644 --- a/src/service.c +++ b/src/service.c @@ -286,7 +286,7 @@ static int sysv_translate_facility(const char *name, const char *filename, char "portmap", SPECIAL_RPCBIND_TARGET, "remote_fs", SPECIAL_REMOTE_FS_TARGET, "syslog", SPECIAL_SYSLOG_TARGET, - "time", SPECIAL_RTC_SET_TARGET, + "time", SPECIAL_TIME_SYNC_TARGET, /* common extensions */ "mail-transfer-agent", SPECIAL_MAIL_TRANSFER_AGENT_TARGET, diff --git a/src/special.h b/src/special.h index 6cedf18c03..08dae11a25 100644 --- a/src/special.h +++ b/src/special.h @@ -54,7 +54,7 @@ #define SPECIAL_NSS_LOOKUP_TARGET "nss-lookup.target" /* LSB's $named */ #define SPECIAL_RPCBIND_TARGET "rpcbind.target" /* LSB's $portmap */ #define SPECIAL_SYSLOG_TARGET "syslog.target" /* LSB's $syslog; Should pull in syslog.socket or syslog.service */ -#define SPECIAL_RTC_SET_TARGET "rtc-set.target" /* LSB's $time */ +#define SPECIAL_TIME_SYNC_TARGET "time-sync.target" /* LSB's $time */ #define SPECIAL_DISPLAY_MANAGER_SERVICE "display-manager.service" /* Debian's $x-display-manager */ #define SPECIAL_MAIL_TRANSFER_AGENT_TARGET "mail-transfer-agent.target" /* Debian's $mail-{transport|transfer-agent */ #define SPECIAL_HTTP_DAEMON_TARGET "http-daemon.target" |