moved old code to modules, cleanup
This commit is contained in:
19
modules/conf_mail.sh
Normal file
19
modules/conf_mail.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
# Mail systême
|
||||
|
||||
export VER_conf_mail="0.0.1"
|
||||
|
||||
conf_mail()
|
||||
{
|
||||
prnt I "Configuration de postfix..."
|
||||
installfile postfix.cf /etc/postfix/main.cf
|
||||
sed -i -e "s/#HOSTNAME#/$HOSTNAME/g" /etc/postfix/main.cf
|
||||
svc_restart postfix
|
||||
}
|
||||
|
||||
precheck_conf_mail()
|
||||
{
|
||||
: # Nothing to check
|
||||
}
|
||||
|
||||
export -f conf_mail
|
||||
export -f precheck_conf_mail
|
||||
Reference in New Issue
Block a user