Subversion Repositories ALCASAR

Rev

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

Rev 3035 Rev 3093
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 3035 2022-07-07 22:49:04Z rexy $
2
# $Id: alcasar-uninstall.sh 3093 2022-12-11 23:07:02Z rexy $
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 295... Line 295...
295
	[ -e /etc/sudoers.default ] && mv -f /etc/sudoers.default /etc/sudoers && echo -n "5, "
295
	[ -e /etc/sudoers.default ] && mv -f /etc/sudoers.default /etc/sudoers && echo -n "5, "
296
	[ -e /etc/security/limits.conf.default ] && mv -f /etc/security/limits.conf.default /etc/security/limits.conf && echo -n "6, "
296
	[ -e /etc/security/limits.conf.default ] && mv -f /etc/security/limits.conf.default /etc/security/limits.conf && echo -n "6, "
297
	[ -e /etc/default/grub.default ] && mv -f /etc/default/grub.default /etc/default/grub && echo -n "7"
297
	[ -e /etc/default/grub.default ] && mv -f /etc/default/grub.default /etc/default/grub && echo -n "7"
298
}
298
}
299
 
299
 
300
 
-
 
301
usage="Usage: alcasar-uninstall.sh {-update or --update} | {-full or --full}"
300
usage="Usage: alcasar-uninstall.sh {-update or --update} | {-full or --full}"
302
 
301
 
303
nb_args=$#
302
nb_args=$#
304
args=$1
303
args=$1
305
if [ $nb_args -eq 0 ]; then
304
if [ $nb_args -eq 0 ]; then