aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/setclock
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d/setclock')
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/setclock9
1 files changed, 2 insertions, 7 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/setclock b/bootscripts/contrib/lsb-v3/init.d/setclock
index 2acceaa92..5d47b8dc8 100644
--- a/bootscripts/contrib/lsb-v3/init.d/setclock
+++ b/bootscripts/contrib/lsb-v3/init.d/setclock
@@ -2,12 +2,12 @@
# Begin /etc/init.d/setclock
### BEGIN INIT INFO
-# Provides: $time
+# Provides: hwclock
# Required-Start:
# Should-Start: modules
# Required-Stop:
# Should-Stop: $syslog
-# Default-Start: S
+# Default-Start:
# Default-Stop:
# Short-Description: Stores and restores time from the hardware clock
# Description: On boot, system time is obtained from hwclock. The
@@ -18,14 +18,9 @@
. /lib/lsb/init-functions
BIN_FILE="/sbin/hwclock"
-CONFIGFILE="/etc/sysconfig/clock"
chk_stat
-. "${CONFIGFILE}"
-
-CLOCKPARAMS=
-
case "${UTC}" in
yes|true|1)
CLOCKPARAMS="${CLOCKPARAMS} --utc"