Subversion Repositories ALCASAR

Rev

Rev 2212 | Rev 2223 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2212 Rev 2221
Line 1... Line 1...
1
 
1
 
2
#!/bin/bash
2
#!/bin/bash
3
# $Id: alcasar-uninstall.sh 2212 2017-05-08 17:36:03Z richard $
3
# $Id: alcasar-uninstall.sh 2221 2017-05-13 13:47:30Z richard $
4
 
4
 
5
# alcasar-uninstall.sh
5
# alcasar-uninstall.sh
6
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
6
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
7
# This script is distributed under the Gnu General Public License (GPL)
7
# This script is distributed under the Gnu General Public License (GPL)
8
 
8
 
Line 195... Line 195...
195
		[ -e /lib/systemd/system/dnsmasq.service.default ] && mv /lib/systemd/system/dnsmasq.service.default /lib/systemd/system/dnsmasq.service && echo -n "3, "
195
		[ -e /lib/systemd/system/dnsmasq.service.default ] && mv /lib/systemd/system/dnsmasq.service.default /lib/systemd/system/dnsmasq.service && echo -n "3, "
196
		i=3
196
		i=3
197
	else
197
	else
198
		i=0
198
		i=0
199
	fi
199
	fi
-
 
200
fi
200
for list in blacklist whitelist blackhole
201
for list in blacklist whitelist blackhole
201
do
202
do
202
	i=`expr $i + 1`
203
	i=`expr $i + 1`
203
	[ -e /etc/dnsmasq-$list.conf ] && rm /etc/dnsmasq-$list.conf && echo -n "$i, "
204
	[ -e /etc/dnsmasq-$list.conf ] && rm /etc/dnsmasq-$list.conf && echo -n "$i, "
204
	i=`expr $i + 1`
205
	i=`expr $i + 1`