diff options
author | Stew Benedict <stewb@mandriva.org> | 2005-08-29 22:37:02 +0000 |
---|---|---|
committer | Stew Benedict <stewb@mandriva.org> | 2005-08-29 22:37:02 +0000 |
commit | bdb636fac82822bc8f72b4641c42ba8427bbe7a2 (patch) | |
tree | f7b1d0a0328af6ab95738a565a49622640e4939b /perl-install/standalone/drakTermServ | |
parent | 85af53064007bf1d9d55f9156647c49343304d79 (diff) | |
download | drakx-backup-do-not-use-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar drakx-backup-do-not-use-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.gz drakx-backup-do-not-use-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.bz2 drakx-backup-do-not-use-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.tar.xz drakx-backup-do-not-use-bdb636fac82822bc8f72b4641c42ba8427bbe7a2.zip |
reverse xdm-config logic for XDMCP
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-x | perl-install/standalone/drakTermServ | 4 |
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"); |