]> git.pld-linux.org Git - packages/ntp.git/blame_incremental - ntpdate-wrapper
verbose files; cosmetics
[packages/ntp.git] / ntpdate-wrapper
... / ...
CommitLineData
1#!/bin/sh
2
3# Source ntp configuration
4. /etc/sysconfig/ntpdate
5
6/usr/sbin/ntpdate -s -U ntp $NTPDATE_OPTIONS $NTPDATE_SERVERS
7RETVAL=$?
8
9if [ $RETVAL -eq 0 -a "$SYNC_HWCLOCK" = "yes" ]; then
10 /sbin/hwclock --systohc
11 RETVAL=$?
12fi
13exit $RETVAL
This page took 0.027327 seconds and 4 git commands to generate.