aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/setclock
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-14 18:54:11 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-14 18:54:11 +0000
commitdad97deb88877c9610c2d98d183266facb07e524 (patch)
tree8dc5021967e0d446df95a0682aca1e27c785fc26 /bootscripts/contrib/lsb-v3/init.d/setclock
parentbd1b5bedc2ae793dcfd6cfd85d9e10040e4b5b05 (diff)
Moved configuration of clock and hostname to rc.site
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9527 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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"