blob: 653e1ef42dbfd2b2053786b356d8e0838bd42b3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ai,v 1.1.1.1 2011/08/26 13:46:43 cheusov Exp $
Replace '%var%' with '@VAR@'
--- scripts/netbsd/yaws.sh.orig 2009-07-05 22:20:13.000000000 +0400
+++ scripts/netbsd/yaws.sh 2009-10-01 03:53:05.000000000 +0400
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
#
@@ -19,8 +19,8 @@
name="yaws"
rcvar=$name
-yaws_command="%prefix%bin/${name}"
-required_files="%etcdir%yaws/yaws.conf"
+yaws_command="@PREFIX@/bin/${name}"
+required_files="@PKG_SYSCONFDIR@/yaws/yaws.conf"
start_cmd="yaws_start"
stop_cmd="yaws_stop"
|