diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 6 |
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; |