2001-06-16 07:16:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2002-06-13 22:14:37 +00:00
|
|
|
# $FreeBSD$
|
2001-06-16 07:16:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# PROVIDE: timed
|
|
|
|
# REQUIRE: DAEMON
|
2002-06-13 22:14:37 +00:00
|
|
|
# BEFORE: LOGIN
|
2008-07-16 19:50:29 +00:00
|
|
|
# KEYWORD: nojail shutdown
|
2001-06-16 07:16:14 +00:00
|
|
|
|
|
|
|
. /etc/rc.subr
|
|
|
|
|
|
|
|
name="timed"
|
2016-04-23 16:10:54 +00:00
|
|
|
desc="Time server daemon"
|
2012-01-14 02:18:41 +00:00
|
|
|
rcvar="timed_enable"
|
2001-06-16 07:16:14 +00:00
|
|
|
command="/usr/sbin/${name}"
|
|
|
|
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|