diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-10-20 07:22:09 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-10-20 07:22:09 +0000 |
commit | 1fc231ba19760a802c17e702b9d89c049b80f936 (patch) | |
tree | 7e92784d1167b1a9dd8caadf77c7e726bf0289a9 /sysutils | |
parent | 4f82b4288ad129ff376625a2ca3fea18c8812580 (diff) | |
download | pkgsrc-1fc231ba19760a802c17e702b9d89c049b80f936.tar.gz |
Replace harcoded /usr/pkg and /var with @PREFIX@ and @VARBASE@
respectively, from Sergey Svishchev in private email.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/smartmontools/files/smartd.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/smartmontools/files/smartd.sh b/sysutils/smartmontools/files/smartd.sh index 21fe70af0d0..467be5dcefa 100644 --- a/sysutils/smartmontools/files/smartd.sh +++ b/sysutils/smartmontools/files/smartd.sh @@ -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" |