]> git.pld-linux.org Git - packages/rdate.git/blame - rdate.cron
- fixed typo, added logging to syslog
[packages/rdate.git] / rdate.cron
CommitLineData
0e12f878
TO
1#!/bin/sh
2
3# Source function library.
4. /etc/rc.d/init.d/functions
5
6# Source networking configuration.
7. /etc/sysconfig/network
8
9# Get service config
10if [ -f /etc/sysconfig/rdate ] ; then
11 . /etc/sysconfig/rdate
12fi
13
14# Check that networking is up.
0fa23ef0
PG
15if [ is_yes "${NETWORKING}" -a is_yes "${SET_TIME}" -a -n "${RDATE_SERVER}" ]; then
16 /usr/bin/rdate -s -l $RDATE_SERVER
0e12f878 17fi
This page took 0.257084 seconds and 4 git commands to generate.