aboutsummaryrefslogtreecommitdiff
path: root/adjtime.cron
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-04-23 11:21:10 -0400
committerTom Gundersen <teg@jklm.no>2011-04-23 21:44:05 +0200
commita2b481098b19e49d8d9143bcaf385fccb9ba08e8 (patch)
tree44c1c5657261842548981531e5cf139ab82d752b /adjtime.cron
parent5fcb5afeb15d0617407abfd5b0827153b632d7c4 (diff)
downloadinitscripts-a2b481098b19e49d8d9143bcaf385fccb9ba08e8.tar.xz
Use Makefile to replace install.sh
If we're going to use a Makefile for minilogd, we might as well use it for everything. This has some moving pieces: * fix minilogd rule: minilogd.o is a target dep not a build rule * rename adjtime.cron => adjtime * fixup PKGBUILD to account for changes Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'adjtime.cron')
-rwxr-xr-xadjtime.cron15
1 files changed, 0 insertions, 15 deletions
diff --git a/adjtime.cron b/adjtime.cron
deleted file mode 100755
index 8a894f1..0000000
--- a/adjtime.cron
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/bash
-# Update our hwclock for system drift
-
-. /etc/rc.conf
-
-HWCLOCK_PARAMS="--adjust"
-case $HARDWARECLOCK in
- UTC) HWCLOCK_PARAMS+=" --utc";;
- localtime) HWCLOCK_PARAMS+=" --localtime";;
- *) HWCLOCK_PARAMS="";;
-esac
-
-if [[ $HWCLOCK_PARAMS && -f /run/daemons/hwclock ]]; then
- /sbin/hwclock $HWCLOCK_PARAMS
-fi