Subversion Repositories ALCASAR

Rev

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

Rev 2226 Rev 2243
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 2226 2017-05-14 16:59:46Z richard $
2
# $Id: alcasar-uninstall.sh 2243 2017-05-20 23:31:41Z 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 281... Line 281...
281
[ -e /etc/sudoers.default ] && mv /etc/sudoers.default /etc/sudoers && echo -n "5, "
281
[ -e /etc/sudoers.default ] && mv /etc/sudoers.default /etc/sudoers && echo -n "5, "
282
[ -e /lib/systemd/system/alcasar-load_balancing.service ] && rm -f /lib/systemd/system/alcasar-load_balancing.service && echo -n "6"
282
[ -e /lib/systemd/system/alcasar-load_balancing.service ] && rm -f /lib/systemd/system/alcasar-load_balancing.service && echo -n "6"
283
sleep 1
283
sleep 1
284
 
284
 
285
# Cleaning (remove all "old" alcasar scripts)
285
# Cleaning (remove all "old" alcasar scripts)
286
echo -en "\n- End of cleaning ..."
286
echo -en "\n- End of cleaning ...\n"
287
for rm_fic in /usr/local/bin /usr/local/etc /usr/local/sbin
287
for rm_fic in /usr/local/bin /usr/local/etc /usr/local/sbin
288
do
288
do
289
	rm -rf $rm_fic/alcasar*
289
	rm -rf $rm_fic/alcasar*
290
done
290
done
291
 
-