summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-24 22:48:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-24 22:48:14 +0000
commitb2f85683817b24f675e46a3d8722b929d6812455 (patch)
treea9bdab9bfc49bdef54527717b525033651f81f5d
parent1f0d1766af4fa848150dd36227bedd6665b6226c (diff)
downloaddrakx-b2f85683817b24f675e46a3d8722b929d6812455.tar
drakx-b2f85683817b24f675e46a3d8722b929d6812455.tar.gz
drakx-b2f85683817b24f675e46a3d8722b929d6812455.tar.bz2
drakx-b2f85683817b24f675e46a3d8722b929d6812455.tar.xz
drakx-b2f85683817b24f675e46a3d8722b929d6812455.zip
(disable_user_view): created, takes care of gdm too (taken from msec)
-rw-r--r--perl-install/install_any.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 210baffa4..ac8e18582 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -812,4 +812,10 @@ sub remove_advertising {
@advertising_images = ();
}
+sub disable_user_view {
+ my ($prefix) = @_;
+ substInFile { s/^UserView=.*/UserView=true/ } "$prefix/usr/share/config/kdmrc";
+ substInFile { s/^Browser=.*/Browser=0/ } "$prefix/etc/X11/gdm/gdm.conf";
+}
+
1;