packages/net/hsflowd/patches/300-config_files_path.patch
dingo 8ffd268207 [patchteam] Add two new packages, hsflowd and sflowovsd - Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-21 12:36:52 +00:00

17 lines
796 B
Diff

diff -Nurb a/src/Linux/hsflowd.h b/src/Linux/hsflowd.h
--- a/src/Linux/hsflowd.h 2012-03-01 18:16:09.000000000 +0100
+++ b/src/Linux/hsflowd.h 2012-03-18 18:56:58.689852282 +0100
@@ -72,9 +72,9 @@
#define HSP_DAEMON_NAME "hsflowd"
#define HSP_DEFAULT_PIDFILE "/var/run/hsflowd.pid"
#define HSP_DEFAULT_CONFIGFILE "/etc/hsflowd.conf"
-#define HSP_DEFAULT_OUTPUTFILE "/etc/hsflowd.auto"
-#define HSP_DEFAULT_VMSTORE_FILE "/etc/hsflowd.data"
-#define HSP_DEFAULT_CRASH_FILE "/etc/hsflowd.crash"
+#define HSP_DEFAULT_OUTPUTFILE "/var/run/hsflowd.auto"
+#define HSP_DEFAULT_VMSTORE_FILE "/var/run/hsflowd.data"
+#define HSP_DEFAULT_CRASH_FILE "/var/run/hsflowd.crash"
/* Numbering to avoid clash. See http://www.sflow.org/developers/dsindexnumbers.php */
#define HSP_DEFAULT_PHYSICAL_DSINDEX 1