svn commit: r406238 - head/net/htpdate/files
Jason Helfman
jgh at FreeBSD.org
Sat Jan 16 16:40:21 UTC 2016
Author: jgh
Date: Sat Jan 16 16:40:19 2016
New Revision: 406238
URL: https://svnweb.freebsd.org/changeset/ports/406238
Log:
- improve startup script and allow flags to be tuneable
No need to bump portrevision, as this is not changing
any existing function.
PR: 206287
Reported by: Nick at van-laarhoven.org
Modified:
head/net/htpdate/files/htpdate.in
Modified: head/net/htpdate/files/htpdate.in
==============================================================================
--- head/net/htpdate/files/htpdate.in Sat Jan 16 16:31:08 2016 (r406237)
+++ head/net/htpdate/files/htpdate.in Sat Jan 16 16:40:19 2016 (r406238)
@@ -18,6 +18,7 @@ load_rc_config htpdate
htpdate_enable="${htpdate_enable:-"NO"}"
htpdate_servers="${htpdate_servers:-"www.freebsd.org www.linux.com"}"
+htpdate_flags="${htpdate_flags:-"-l -s -D"}"
name=htpdate
rcvar=htpdate_enable
@@ -25,7 +26,7 @@ servers=${htpdate_servers}
pidfile=/var/run/htpdate.pid
command="/usr/local/bin/htpdate"
-command_args="-l -s -D $servers"
+command_args="${htpdate_flags} $servers"
stop_cmd=htpdate_stop
htpdate_stop ()
More information about the svn-ports-all
mailing list