openbsd-ports/net/smokeping/patches/patch-bin_tSmoke
sthen 26223473c7 update Smokeping to 2.6.8 and add an rc.d script
- note that the script file location has changed, it's probably simplest
to use the new sample httpd config.
2013-01-05 22:52:06 +00:00

19 lines
461 B
Plaintext

$OpenBSD: patch-bin_tSmoke,v 1.1 2013/01/05 22:52:07 sthen Exp $
--- bin/tSmoke.orig Sat Dec 8 22:26:25 2012
+++ bin/tSmoke Sat Dec 8 22:27:24 2012
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
#
#-----------------------------------------------
# tSmoke.pl
@@ -63,7 +63,7 @@ use Pod::Usage;
use RRDs;
# Point to your Smokeping config file
-my $cfgfile = "etc/config.dist";
+my $cfgfile = "${SYSCONFDIR}/config";
# global variables
my $cfg;