summaryrefslogtreecommitdiff
path: root/net-mgmt/fastnetmon/files/patch-src_fast__platform.h.template
blob: 6b8858525fba3d97dc4e4164f1c8eba3186a5112 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- src/fast_platform.h.template.orig	2019-02-13 22:20:23 UTC
+++ src/fast_platform.h.template
@@ -8,19 +8,19 @@
 std::string fastnetmon_version = "${FASTNETMON_APPLICATION_VERSION}";
 
 std::string pid_path = "/var/run/fastnetmon.pid";
-std::string global_config_path = "/etc/fastnetmon.conf";
+std::string global_config_path = "%%PREFIX%%/etc/fastnetmon.conf";
 
 std::string log_file_path = "/var/log/fastnetmon.log";
 std::string attack_details_folder = "/var/log/fastnetmon_attacks";
 
 // Default path to notify script
-std::string notify_script_path = "/usr/local/bin/notify_about_attack.sh";
+std::string notify_script_path = "%%PREFIX%%/bin/notify_about_attack.sh";
 
 // Default path to file with networks for whitelising
-std::string white_list_path = "/etc/networks_whitelist";
+std::string white_list_path = "%%PREFIX%%/etc/networks_whitelist";
 
 // Default path to file with all networks listing
-std::string networks_list_path = "/etc/networks_list";
+std::string networks_list_path = "%%PREFIX%%/etc/networks_list";
 
 /* Platform specific paths end */