Skip to content

Commit 02b9cc6

Browse files
committed
updated opensuse installer.
1 parent cdb391d commit 02b9cc6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

install/dist/lib/opensuse.lib.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function configure_postfix($options = '')
195195
public function configure_saslauthd() {
196196
global $conf;
197197

198-
198+
/*
199199
$configfile = 'sasl_smtpd.conf';
200200
if(is_file('/etc/sasl2/smtpd.conf')) copy('/etc/sasl2/smtpd.conf','/etc/sasl2/smtpd.conf~');
201201
if(is_file('/etc/sasl2/smtpd.conf~')) exec('chmod 400 '.'/etc/sasl2/smtpd.conf~');
@@ -205,7 +205,7 @@ public function configure_saslauthd() {
205205
$content = str_replace('{mysql_server_database}',$conf['mysql']['database'],$content);
206206
$content = str_replace('{mysql_server_ip}',$conf['mysql']['ip'],$content);
207207
wf('/etc/sasl2/smtpd.conf',$content);
208-
208+
*/
209209

210210
// TODO: Chmod and chown on the config file
211211

@@ -228,6 +228,9 @@ public function configure_saslauthd() {
228228
$configfile = $conf["init_scripts"].'/'.$conf["saslauthd"]["init_script"];
229229
$content = rf($configfile);
230230
$content = str_replace('/sbin/startproc $AUTHD_BIN -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS > /dev/null 2>&1','/sbin/startproc $AUTHD_BIN -r -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS > /dev/null 2>&1',$content);
231+
$content = str_replace('/sbin/startproc $AUTHD_BIN $SASLAUTHD_PARAMS -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS > /dev/null 2>&1','/sbin/startproc $AUTHD_BIN $SASLAUTHD_PARAMS -r -a $SASLAUTHD_AUTHMECH -n $SASLAUTHD_THREADS > /dev/null 2>&1',$content);
232+
233+
231234
wf($configfile,$content);
232235

233236

0 commit comments

Comments
 (0)