1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/ntpd 193119 2009-05-30 21:51:38Z dougb $
| 3# $FreeBSD: head/etc/rc.d/ntpd 230099 2012-01-14 02:18:41Z dougb $
|
4# 5 6# PROVIDE: ntpd 7# REQUIRE: DAEMON ntpdate cleanvar devfs 8# BEFORE: LOGIN 9# KEYWORD: nojail shutdown 10 11. /etc/rc.subr 12 13name="ntpd"
| 4# 5 6# PROVIDE: ntpd 7# REQUIRE: DAEMON ntpdate cleanvar devfs 8# BEFORE: LOGIN 9# KEYWORD: nojail shutdown 10 11. /etc/rc.subr 12 13name="ntpd"
|
14rcvar=`set_rcvar`
| 14rcvar="ntpd_enable"
|
15command="/usr/sbin/${name}" 16pidfile="/var/run/${name}.pid" 17start_precmd="ntpd_precmd" 18 19load_rc_config $name 20 21ntpd_precmd() 22{
--- 31 unchanged lines hidden --- | 15command="/usr/sbin/${name}" 16pidfile="/var/run/${name}.pid" 17start_precmd="ntpd_precmd" 18 19load_rc_config $name 20 21ntpd_precmd() 22{
--- 31 unchanged lines hidden --- |