summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2005-08-29 22:37:02 +0000
committerStew Benedict <stewb@mandriva.org>2005-08-29 22:37:02 +0000
commitbdb636fac82822bc8f72b4641c42ba8427bbe7a2 (patch)
treef7b1d0a0328af6ab95738a565a49622640e4939b
parent85af53064007bf1d9d55f9156647c49343304d79 (diff)
downloaddrakx-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar
drakx-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.gz
drakx-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.bz2
drakx-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.xz
drakx-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.zip
reverse xdm-config logic for XDMCP
-rwxr-xr-xperl-install/standalone/drakTermServ4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 658cb0c75..bac06a5a6 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -1254,7 +1254,7 @@ sub client_set {
}
}
substInFile { s/id:3:initdefault:/id:5:initdefault:/ } "/etc/inittab";
- substInFile { s/! DisplayManager.requestPort:/DisplayManager.requestPort:/ } "/etc/X11/xdm/xdm-config";
+ substInFile { s/DisplayManager.requestPort:/! DisplayManager.requestPort:/ } "/etc/X11/xdm/xdm-config";
substInFile { s/Enable=false/Enable=true/ } "/usr/share/config/kdm/kdmrc";
# This file had 2 "Enable=" entries, one for XDMCP and one for debug
change_gdm_xdmcp("true");
@@ -1273,7 +1273,7 @@ sub client_set {
`mv /etc/sysconfig/autologin.bak /etc/sysconfig/autologin`;
}
substInFile { s/id:5:initdefault:/id:3:initdefault:/ } '/etc/inittab';
- substInFile { s/DisplayManager.requestPort:/! DisplayManager.requestPort:/ } "/etc/X11/xdm/xdm-config";
+ substInFile { s/! DisplayManager.requestPort:/DisplayManager.requestPort:/ } "/etc/X11/xdm/xdm-config";
substInFile { s/Enable=true/Enable=false/ } "/usr/share/config/kdm/kdmrc";
change_gdm_xdmcp("false");
log::explanations("Modified files /etc/inittab, /etc/X11/xdm/xdm-config, /usr/share/config/kdm/kdmrc, /etc/X11/gdm/gdm.conf");