modified script for debian package
[svn/Prometheus-QoS/.git] / debian / prometheus.patch
1 --- prometheus.c 2008-01-09 12:38:16.000000000 +0100
2 +++ prometheus.c.deb 2008-01-09 15:51:48.098924554 +0100
3 @@ -60,9 +60,9 @@
4 char *config="/etc/prometheus/prometheus.conf"; /* main configuration file */
5 char *hosts="/etc/prometheus/hosts"; /* line bandwidth definition file */
6 char *tc="/sbin/tc"; /* requires tc with HTB support */
7 -char *iptables="/usr/sbin/iptables"; /* requires iptables utility */
8 -char *iptablessave="/usr/sbin/iptables-save"; /* new */
9 -char *iptablesrestore="/usr/sbin/iptables-restore"; /* new */
10 +char *iptables="/sbin/iptables"; /* requires iptables utility */
11 +char *iptablessave="/sbin/iptables-save"; /* new */
12 +char *iptablesrestore="/sbin/iptables-restore"; /* new */
13 char *iptablesfile="/var/spool/prometheus.iptables"; /* new; file for iptables-restore*/
14 char *iptablespreamble="*mangle\n:PREROUTING ACCEPT [0:0]\n:POSTROUTING ACCEPT [0:0]\n:INPUT ACCEPT [0:0]\n:OUTPUT ACCEPT [0:0]\n:FORWARD ACCEPT [0:0]";
15 FILE *iptables_file=NULL;
16 @@ -72,7 +72,7 @@
17 char *credit="/var/run/prometheus.credit"; /* credit log file */
18 int enable_credit=1; /* enable credit file */
19 int use_credit=0; /* use credit file (if enabled)*/
20 -char *log_dir="/var/www/html/logs/"; /* log directory pathname */
21 +char *log_dir="/var/www/logs/"; /* log directory pathname */
22 char *log_url="logs/"; /* log directory URL prefix */
23 char *title="Hall of Fame - Greatest Suckers"; /* hall of fame title */
24 int hall_of_fame=1; /* enable hall of fame */
This page took 0.325993 seconds and 4 git commands to generate.