summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-09 21:11:58 +0200
committerDirk von Suchodoletz2008-08-09 21:11:58 +0200
commit41a989e3e1fda9be2fd97b87c7cdeb99eb3735d6 (patch)
treef8f8dee3c72ed81deb6169994042423659b76036 /os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
parentTrivial: New version number is 4.8.9 until we have the initramfs-ng (diff)
downloadcore-41a989e3e1fda9be2fd97b87c7cdeb99eb3735d6.tar.gz
core-41a989e3e1fda9be2fd97b87c7cdeb99eb3735d6.tar.xz
core-41a989e3e1fda9be2fd97b87c7cdeb99eb3735d6.zip
Implementing (hopefully :)) two stage3 options (allowshutdown and
rootlogin) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2003 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm')
-rw-r--r--os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm19
1 files changed, 15 insertions, 4 deletions
diff --git a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
index 0fbca922..886dbd1d 100644
--- a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
+++ b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm
@@ -111,7 +111,7 @@ sub getAttrInfo
content_descr => 'one of the entries in "supported_themes"',
default => 'openslx',
},
- 'desktop::allow-shutdown' => {
+ 'desktop::allowshutdown' => {
applies_to_systems => 1,
applies_to_clients => 1,
description => unshiftHereDoc(<<' End-of-Here'),
@@ -123,7 +123,7 @@ sub getAttrInfo
content_descr => 'possible entries "none", "root" or "users"',
default => 'users',
},
- 'desktop::allow-rootlogin' => {
+ 'desktop::rootlogin' => {
applies_to_systems => 1,
applies_to_clients => 1,
description => unshiftHereDoc(<<' End-of-Here'),
@@ -132,8 +132,19 @@ sub getAttrInfo
End-of-Here
content_descr => '1 means allowed - 0 means forbidden',
content_regex => qr{^(0|1)$},
- default => 'users',
+ default => '0',
},
+ # kiosk mode just has the option to logon user nobody
+ #'desktop::auto-login' => {
+ # applies_to_systems => 1,
+ # applies_to_clients => 1,
+ # description => unshiftHereDoc(<<' End-of-Here'),
+ # set an arbitrary user which is logged in automatically into
+ # the graphical user interface (none disables, default).
+ # End-of-Here
+ # content_descr => 'none disables - <user> logins in that userid',
+ # default => 'none',
+ #},
# stage1
'desktop::gdm' => {
@@ -544,7 +555,7 @@ sub _setupGDM
$configHash = $self->{distro}->GDMConfigHashForChooser();
$self->_writeConfigHash($configHash, "$repoPath/gdm/chooser/gdm.conf");
- return;
+ return;
}
sub _setupGDMScript