Date: Sun, 15 May 2016 03:11:32 +0000 (UTC) From: Babak Farrokhi <farrokhi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415207 - head/net/radvd/files Message-ID: <201605150311.u4F3BWK8055894@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: farrokhi Date: Sun May 15 03:11:32 2016 New Revision: 415207 URL: https://svnweb.freebsd.org/changeset/ports/415207 Log: update net/radvd to improve startup script - rc script now accepts arbitrary config file path PR: 206237 Submitted by: Daniel Ylitalo <daniel@blodan.se> Approved by: bapt Differential Revision: https://reviews.freebsd.org/D6371 Modified: head/net/radvd/files/radvd.in Modified: head/net/radvd/files/radvd.in ============================================================================== --- head/net/radvd/files/radvd.in Sun May 15 02:11:11 2016 (r415206) +++ head/net/radvd/files/radvd.in Sun May 15 03:11:32 2016 (r415207) @@ -16,10 +16,13 @@ rcvar=radvd_enable pidfile=/var/run/${name}.pid command="%%PREFIX%%/sbin/${name}" -command_args="-p ${pidfile}" -required_files="%%PREFIX%%/etc/${name}.conf" load_rc_config $name : ${radvd_enable="NO"} +: ${radvd_config="%%PREFIX%%/etc/${name}.conf"} + +required_files="${radvd_config}" + +command_args="-p ${pidfile} -C ${radvd_config}" run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605150311.u4F3BWK8055894>