Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
02b9cc68
Commit
02b9cc68
authored
Mar 05, 2009
by
tbrehm
Browse files
updated opensuse installer.
parent
cdb391d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/dist/lib/opensuse.lib.php
View file @
02b9cc68
...
...
@@ -195,7 +195,7 @@ class installer_dist extends installer_base {
public
function
configure_saslauthd
()
{
global
$conf
;
/*
$configfile = 'sasl_smtpd.conf';
if(is_file('/etc/sasl2/smtpd.conf')) copy('/etc/sasl2/smtpd.conf','/etc/sasl2/smtpd.conf~');
if(is_file('/etc/sasl2/smtpd.conf~')) exec('chmod 400 '.'/etc/sasl2/smtpd.conf~');
...
...
@@ -205,7 +205,7 @@ class installer_dist extends installer_base {
$content = str_replace('{mysql_server_database}',$conf['mysql']['database'],$content);
$content = str_replace('{mysql_server_ip}',$conf['mysql']['ip'],$content);
wf('/etc/sasl2/smtpd.conf',$content);
*/
// TODO: Chmod and chown on the config file
...
...
@@ -228,6 +228,9 @@ class installer_dist extends installer_base {
$configfile
=
$conf
[
"init_scripts"
]
.
'/'
.
$conf
[
"saslauthd"
][
"init_script"
];
$content
=
rf
(
$configfile
);
$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
);
$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
);
wf
(
$configfile
,
$content
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment