Subversion Repositories ALCASAR

Rev

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

Rev 3285 Rev 3286
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
# $Id: alcasar-uninstall.sh 3285 2025-05-20 17:33:11Z rexy $
2
# $Id: alcasar-uninstall.sh 3286 2025-05-21 13:33:19Z 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 265... Line 265...
265
	[ -e /opt/acme.sh ] && rm -rf /opt/acme.sh && echo -n "3"
265
	[ -e /opt/acme.sh ] && rm -rf /opt/acme.sh && echo -n "3"
266
}
266
}
267
 
267
 
268
mail_service()
268
mail_service()
269
{
269
{
270
	echo -en "(1) : "
270
	echo -en "(3) : "
-
 
271
	[ -e /etc/php.d/05_mail.ini.default ] && mv /etc/php.d/05_mail.ini.default /etc/php.d/05_mail.ini && echo -n "1"
271
	[ -e /etc/postfix/main.cf.orig ] && mv /etc/postfix/main.cf.orig /etc/postfix/main.cf && echo -n "1"
272
	[ -e /etc/postfix/main.cf.orig ] && mv /etc/postfix/main.cf.orig /etc/postfix/main.cf && echo -n "2"
-
 
273
	[ -e /etc/postfix/aliases.default ] && mv /etc/postfix/aliases.default /etc/postfix/aliases && newaliases && echo -n "3"
272
}
274
}
273
 
275
 
274
post_install ()
276
post_install ()
275
{
277
{
276
echo -en "(7) : "
278
echo -en "(7) : "