Add sysctl config file to preserve deprecated CONFIG_NF_CT_ACCT
Benjamin Renard

Benjamin Renard commited on 2013-08-14 10:52:48
Showing 3 changed files, with 6 additions and 0 deletions.

... ...
@@ -1,4 +1,5 @@
1 1
 etc
2
+etc/sysctl.d
2 3
 usr/bin
3 4
 usr/include/wifidog
4 5
 usr/lib
... ...
@@ -47,6 +47,9 @@ install: build
47 47
 	cp $(CURDIR)/wifidog.conf $(CURDIR)/debian/wifidog-gateway/etc
48 48
 	cp $(CURDIR)/wifidog-msg.html $(CURDIR)/debian/wifidog-gateway/etc
49 49
 
50
+	cp $(CURDIR)/debian/wifidog-gateway.syctl $(CURDIR)/debian/wifidog-gateway/etc/sysctl.d
51
+
52
+	cp $(CURDIR)/wifidog-msg.html $(CURDIR)/debian/wifidog-gateway/etc
50 53
 	cp $(CURDIR)/src/wdctl $(CURDIR)/debian/wifidog-gateway/usr/bin
51 54
 	cp $(CURDIR)/src/.libs/wifidog $(CURDIR)/debian/wifidog-gateway/usr/bin
52 55
 
... ...
@@ -0,0 +1,2 @@
1
+# Wifidog Gateway still use deprecated CONFIG_NF_CT_ACCT. To preserve this kernel option
2
+net.netfilter.nf_conntrack_acct=1
0 3