Mercurial > vanilla
changeset 28:4a2a995d7a90
templates: update rc.template
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 25 Feb 2019 20:12:21 +0100 |
parents | 4e4a4cac22a1 |
children | 5da6ac901395 |
files | templates/rc.template |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/rc.template Mon Feb 25 16:54:50 2019 +0100 +++ b/templates/rc.template Mon Feb 25 20:12:21 2019 +0100 @@ -15,13 +15,9 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # -if [ -r /etc/rc.conf ]; then - . /etc/rc.conf -fi - -: ${TEMPLATE_CMD:=/usr/sbin/template} -: ${TEMPLATE_ARGS:=--foo} -: ${TEMPLATE_PID:=/var/run/template/template.pid} +TEMPLATE_CMD=/usr/sbin/template +TEMPLATE_ARGS=--foo +TEMPLATE_PID=/var/run/template/template.pid template_start() {