Переменная профилей cl_pass_step в профилях накладываемых на систему заменена на переменную cl_pass_run

Переменная профилей cl_action в профилях накладываемых на систему заменена на cl_pass_type
develop
Самоукин Алексей 15 years ago
parent 4747c0d7c6
commit d98879dbbf

@ -1 +1 @@
# Calculate cl_name==calculate-client&cl_action==profiles_client
# Calculate cl_name==calculate-client&cl_pass_type==install

@ -1,12 +1,12 @@
# Calculate format=proftpd load(/etc/slim.conf)!=
#?cl_pass_step==install#
#?cl_pass_run==on#
login_cmd /usr/share/calculate/xdm/cmd_login && exec /bin/bash -login /etc/X11/xinit/xinitrc
sessionstart_cmd export USER=%user && /usr/share/calculate/xdm/login && exec /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd export USER=%user && start-stop-daemon --start --exec /usr/share/calculate/xdm/logout && killall gam_server && /usr/bin/sessreg -d -l :0.0 %user
#cl_pass_step#
#?cl_pass_step==uninstall#
#cl_pass_run#
#?cl_pass_run==off#
login_cmd exec /bin/bash -login /etc/X11/xinit/xinitrc
sessionstart_cmd /usr/bin/sessreg -a -l :0.0 %user
sessionstop_cmd /usr/bin/sessreg -d -l :0.0 %user
#cl_pass_step#
#cl_pass_run#

@ -1,14 +1,14 @@
# Calculate format=kde load(/usr/share/config/kdm/kdmrc)!=
#?cl_pass_step==install#
#?cl_pass_run==on#
[X-*-Core]
Reset=/usr/share/calculate/xdm/logout
Startup=/usr/share/calculate/xdm/login
#cl_pass_step#
#?cl_pass_step==uninstall#
#cl_pass_run#
#?cl_pass_run==off#
[X-*-Core]
Reset=/usr/share/config/kdm/Xreset
Startup=/usr/share/config/kdm/Xstartup
#cl_pass_step#
#cl_pass_run#
#?cl_remote_host!=#
[X-*-Greeter]
MinShowUID=1000

@ -1 +1 @@
# Calculate cl_name==calculate-client&cl_action==profiles_domain
# Calculate cl_name==calculate-client&cl_pass_type==domain

@ -983,7 +983,7 @@ conjunction with the 'login' or 'logout'")
# Изменяем базовую директорию наложения профилей
self.clVars.Set("cl_root_path","/",True)
# Устанавливаем действие profiles_domain
self.clVars.Set("cl_action","profiles_domain",True)
self.clVars.Set("cl_pass_type","domain",True)
# Наложим профили profiles/domain
# Новые пути к профилям
profPaths = self.getPathProfiles(self.rootProfilePaths)
@ -1120,7 +1120,7 @@ conjunction with the 'login' or 'logout'")
# Наложим профили profiles/domain
# Новые пути к профилям
# Устанавливаем действие profiles_domain
self.clVars.Set("cl_action","profiles_domain",True)
self.clVars.Set("cl_pass_type","domain",True)
# Новые пути к профилям
profPaths = self.getPathProfiles(self.rootProfilePaths)
if not profPaths:
@ -1151,11 +1151,11 @@ conjunction with the 'login' or 'logout'")
messageOk = _("Removed use of scripts this package for window \
manager") + " ..."
# Устанавливаем переменную профиля
clVars.Set("cl_pass_step","uninstall",True)
clVars.Set("cl_pass_run","off",True)
# Изменяем базовую директорию наложения профилей
clVars.Set("cl_root_path","/",True)
# Устанавливаем действие profiles_client
clVars.Set("cl_action","profiles_client",True)
clVars.Set("cl_pass_type","install",True)
# Новые пути к профилям
profPaths = self.getPathProfiles(self.rootProfilePaths)
if not profPaths:
@ -1187,11 +1187,11 @@ manager") + " ..."
messageOk = _("Added use of scripts this package for window \
manager") + " ..."
# Устанавливаем переменную профиля
clVars.Set("cl_pass_step","install",True)
clVars.Set("cl_pass_run","on",True)
# Изменяем базовую директорию наложения профилей
clVars.Set("cl_root_path","/",True)
# Устанавливаем действие profiles_client
clVars.Set("cl_action","profiles_client",True)
clVars.Set("cl_pass_type","install",True)
# Новые пути к профилям
profPaths = self.getPathProfiles(self.rootProfilePaths)
if not profPaths:
@ -1318,7 +1318,7 @@ or ld_bind_dn or ld_bind_pw")
return False
# Наложим профили profiles/domain
# Устанавливаем действие profiles_client
self.clVars.Set("cl_action","profiles_domain",True)
self.clVars.Set("cl_pass_type","domain",True)
# Новые пути к профилям
profPaths = self.getPathProfiles(self.rootProfilePaths)
if not profPaths:

Loading…
Cancel
Save