[enh] Remove redundant debconf commands
This commit is contained in:
parent
cfa27b2b56
commit
58603c0e40
|
@ -300,31 +300,11 @@ if [ -r /etc/alternc/my_mail.cnf ]; then
|
|||
eval `sed -n -e "/=/{s/ *= *\"\?/='/;s/\"\?\$/'/;s/host/MYSQL_HOST/;s/user/MYSQL_MAIL_USER/;s/password/MYSQL_MAIL_PASS/;s/database/MYSQL_DATABASE/;p}" /etc/alternc/my_mail.cnf`
|
||||
fi
|
||||
|
||||
|
||||
db_get alternc/hostingname
|
||||
if [ -z "$RET" ]
|
||||
then
|
||||
db_set alternc/hostingname "$HOSTING"
|
||||
fi
|
||||
|
||||
db_get alternc/desktopname
|
||||
if [ -z "$RET" ]
|
||||
then
|
||||
db_set alternc/desktopname "$FQDN"
|
||||
fi
|
||||
|
||||
|
||||
db_get alternc/monitor_ip
|
||||
if [ -z "$RET" ]; then
|
||||
db_set alternc/monitor_ip "$MONITOR_IP"
|
||||
fi
|
||||
|
||||
db_get alternc/ns2
|
||||
if [ -z "$RET" ]
|
||||
then
|
||||
db_set alternc/ns2 "$NS2_HOSTNAME"
|
||||
fi
|
||||
|
||||
db_get alternc/default_mx2
|
||||
if [ -z "$RET" ]; then
|
||||
db_set alternc/default_mx2 "$DEFAULT_SECONDARY_MX"
|
||||
|
|
Loading…
Reference in New Issue