summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakTermServ
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-16 12:16:50 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-16 12:16:50 +0000
commit6bf5ba6748589304e2908255239173b17045e4f2 (patch)
treee90503488881af20ffc8a6c598d2d664fad7246d /perl-install/standalone/drakTermServ
parentb1bdd08ed40de21d9242c0568f640a87f9d2392c (diff)
downloaddrakx-backup-do-not-use-6bf5ba6748589304e2908255239173b17045e4f2.tar
drakx-backup-do-not-use-6bf5ba6748589304e2908255239173b17045e4f2.tar.gz
drakx-backup-do-not-use-6bf5ba6748589304e2908255239173b17045e4f2.tar.bz2
drakx-backup-do-not-use-6bf5ba6748589304e2908255239173b17045e4f2.tar.xz
drakx-backup-do-not-use-6bf5ba6748589304e2908255239173b17045e4f2.zip
"je n'en veux + de cette engeance" (c) pixel :
make explanations provided by log and not anymore by standalone, thus preventing using standalone in drakx (which is bad)
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-xperl-install/standalone/drakTermServ12
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ
index 6bb553732..fb4e6b225 100755
--- a/perl-install/standalone/drakTermServ
+++ b/perl-install/standalone/drakTermServ
@@ -862,7 +862,7 @@ sub maintain_clients {
`perl -pi -e '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");
- standalone::explanations("Modified files /etc/inittab, /etc/X11/xdm/xdm-config, /usr/share/config/kdm/kdmrc, /etc/X11/gdm/gdm.conf");
+ log::explanations("Modified files /etc/inittab, /etc/X11/xdm/xdm-config, /usr/share/config/kdm/kdmrc, /etc/X11/gdm/gdm.conf");
# just xdmcp in hosts.allow is enough for xdm & kdm, but gdm doesn't work - x11 doesn't help either
update_hosts_allow("enable");
} else {
@@ -870,7 +870,7 @@ sub maintain_clients {
`perl -pi -e 's/DisplayManager.requestPort:/\! DisplayManager.requestPort:/' /etc/X11/xdm/xdm-config`;
`perl -pi -e 's/Enable=true/Enable=false/' /usr/share/config/kdm/kdmrc`;
change_gdm_xdmcp("false");
- standalone::explanations("Modified files /etc/inittab, /etc/X11/xdm/xdm-config, /usr/share/config/kdm/kdmrc, /etc/X11/gdm/gdm.conf");
+ log::explanations("Modified files /etc/inittab, /etc/X11/xdm/xdm-config, /usr/share/config/kdm/kdmrc, /etc/X11/gdm/gdm.conf");
update_hosts_allow("disable");
}
$in->ask_warn('', N("Need to restart the Display Manager for full changes to take effect. \n(service dm restart - at the console)"));
@@ -1455,12 +1455,12 @@ sub update_hosts_allow {
return;
}
if (!$has_all) {
- standalone::explanations("Modified file /etc/hosts.allow");
+ log::explanations("Modified file /etc/hosts.allow");
append_to_file("/etc/hosts.allow", "ALL:\t$subnet\n");
}
$has_all = `grep ALL /etc/hosts.deny`;
if (!$has_all) {
- standalone::explanations("Modified file /etc/hosts.deny");
+ log::explanations("Modified file /etc/hosts.deny");
append_to_file("/etc/hosts.deny", "ALL:\tALL\n");
}
}
@@ -1469,7 +1469,7 @@ sub update_hosts_allow {
for (my $i = 0; $i < @allow; $i++) {
if ($allow[$i] =~ /^ALL:\t$subnet/) {
splice(@allow, $i, 1);
- standalone::explanations("Modified file /etc/hosts.allow");
+ log::explanations("Modified file /etc/hosts.allow");
output("/etc/hosts.allow", @allow);
last;
}
@@ -1478,7 +1478,7 @@ sub update_hosts_allow {
for (my $i = 0; $i < @deny; $i++) {
if ($deny[$i] =~ /^ALL:\tALL/) {
splice(@deny, $i, 1);
- standalone::explanations("Modified file /etc/hosts.deny");
+ log::explanations("Modified file /etc/hosts.deny");
output("/etc/hosts.deny", @deny);
last;
}