Subversion Repositories ALCASAR

Rev

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

Rev 2310 Rev 2329
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 2310 2017-06-26 14:40:53Z tom.houdayer $
2
# $Id: alcasar-uninstall.sh 2329 2017-07-11 12:45:42Z tom.houdayer $
3
 
3
 
4
# alcasar-uninstall.sh
4
# alcasar-uninstall.sh
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
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 232... Line 232...
232
[ -e /etc/cron.d/alcasar-rsync-bl ] && rm -f /etc/cron.d/alcasar-rsync-bl && echo -n "10,"
232
[ -e /etc/cron.d/alcasar-rsync-bl ] && rm -f /etc/cron.d/alcasar-rsync-bl && echo -n "10,"
233
sleep 1
233
sleep 1
234
 
234
 
235
echo -en "\n- gammu-smsd (3) : "
235
echo -en "\n- gammu-smsd (3) : "
236
[ -e /etc/gammu_smsd_conf ] && rm -f /etc/gammu_smsd_conf && echo -n "1, "
236
[ -e /etc/gammu_smsd_conf ] && rm -f /etc/gammu_smsd_conf && echo -n "1, "
237
[ -e /etc/udev/rules.d/66-huawei.rules ] && rm -f /etc/udev/rules.d/66-huawei.rules && echo -n "2, "
237
[ -e /lib/udev/rules.d/66-huawei.rules ] && rm -f /lib/udev/rules.d/66-huawei.rules && echo -n "2, "
238
[ -e /var/log/gammu-smsd ] && rm -rf /var/log/gammu-smsd && echo -n "3"
238
[ -e /var/log/gammu-smsd ] && rm -rf /var/log/gammu-smsd && echo -n "3"
239
sleep 1
239
sleep 1
240
 
240
 
241
echo -en "\n- msec (2) : "
241
echo -en "\n- msec (2) : "
242
if [ -e /etc/security/msec/security.conf ]
242
if [ -e /etc/security/msec/security.conf ]
Line 245... Line 245...
245
	[ -e /etc/security/msec/perm.local ] && rm -f /etc/security/msec/perm.local && echo -n "2"
245
	[ -e /etc/security/msec/perm.local ] && rm -f /etc/security/msec/perm.local && echo -n "2"
246
else	echo -n "uninstalled"
246
else	echo -n "uninstalled"
247
fi
247
fi
248
sleep 1
248
sleep 1
249
 
249
 
250
echo -en "\n- letsencrypt-client (1) : "
250
echo -en "\n- letsencrypt-client (2) : "
251
[ -e /usr/local/etc/letsencrypt ] && rm -rf/usr/local/etc/letsencrypt && echo -n "1, "
251
[ -e /usr/local/etc/letsencrypt ] && rm -rf /usr/local/etc/letsencrypt && echo -n "1, "
252
[ -e /opt/acme.sh ] && /opt/acme.sh/acme.sh --uninstall --nocron 1>/dev/null && echo -n "2"
252
[ -e /opt/acme.sh ] && /opt/acme.sh/acme.sh --uninstall --nocron 1>/dev/null && echo -n "2"
253
sleep 1
253
sleep 1
254
 
254
 
255
if [ mode == "full" ]
255
if [ mode == "full" ]
256
then
256
then