Subversion Repositories ALCASAR

Rev

Rev 1482 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1482 Rev 1508
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-bypass.sh 1482 2014-11-07 22:11:06Z richard $
2
# $Id: alcasar-bypass.sh 1508 2014-11-30 18:19:16Z richard $
3
 
3
 
4
# alcasar-bypass.sh
4
# alcasar-bypass.sh
5
# by 3abtux and Rexy
5
# by 3abtux and Rexy
6
# This script is distributed under the Gnu General Public License (GPL)
6
# This script is distributed under the Gnu General Public License (GPL)
7
 
7
 
Line 48... Line 48...
48
		systemctl restart dnsmasq
48
		systemctl restart dnsmasq
49
		rm -f /etc/sysconfig/network-scripts/ifcfg-$INTIF
49
		rm -f /etc/sysconfig/network-scripts/ifcfg-$INTIF
50
		/usr/bin/systemctl start chilli
50
		/usr/bin/systemctl start chilli
51
		sh /usr/local/bin/alcasar-iptables.sh
51
		sh /usr/local/bin/alcasar-iptables.sh
52
		echo "L'authentification et le filtrage sont actifs"
52
		echo "L'authentification et le filtrage sont actifs"
53
		echo "Authentication ans filterig system are enabled"
53
		echo "Authentication and filtering system are enabled"
54
;;
54
;;
55
	*)
55
	*)
56
		echo "Argument inconnu :$1";
56
		echo "Argument inconnu :$1";
57
		echo "$usage"
57
		echo "$usage"
58
		exit 1
58
		exit 1