pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/smartmontools/files Replace harcoded /usr/pkg...
details: https://anonhg.NetBSD.org/pkgsrc/rev/93e78149a4a9
branches: trunk
changeset: 482094:93e78149a4a9
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Oct 20 07:22:09 2004 +0000
description:
Replace harcoded /usr/pkg and /var with @PREFIX@ and @VARBASE@
respectively, from Sergey Svishchev in private email.
diffstat:
sysutils/smartmontools/files/smartd.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 1af6193999e5 -r 93e78149a4a9 sysutils/smartmontools/files/smartd.sh
--- a/sysutils/smartmontools/files/smartd.sh Wed Oct 20 06:30:57 2004 +0000
+++ b/sysutils/smartmontools/files/smartd.sh Wed Oct 20 07:22:09 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: smartd.sh,v 1.1.1.1 2004/07/15 20:17:45 xtraeme Exp $
+# $NetBSD: smartd.sh,v 1.2 2004/10/20 07:22:09 xtraeme Exp $
#
# PROVIDE: smartd
# REQUIRE: DAEMON
@@ -9,8 +9,8 @@
name="smartd"
rcvar=$name
-command="/usr/pkg/sbin/${name}"
-pidfile="/var/run/${name}.pid"
+command="@PREFIX@/sbin/${name}"
+pidfile="@VARBASE@/run/${name}.pid"
smartd_flags="-p $pidfile"
extra_commands="reload"
Home |
Main Index |
Thread Index |
Old Index