1 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/installer/gtk-gui/usermanagement.sh,v 1.2 2008-09-24 10:44:21 niro Exp $ |
# $Id$ |
2 |
|
|
3 |
export ROOT_PASSWORD_DIALOG=' |
export ROOT_PASSWORD_DIALOG=' |
4 |
<window title="Root Password" icon-name="gtk-dialog-authentication" window_position="1" resizable="false"> |
<window title="Root Password" icon-name="gtk-dialog-authentication" window_position="1" resizable="false"> |
90 |
local pass1="$1" |
local pass1="$1" |
91 |
local pass2="$2" |
local pass2="$2" |
92 |
|
|
93 |
echo "DEBUG: pass1='${pass1}'" |
debug "pass1='${pass1}'" |
94 |
|
|
95 |
if [[ -z ${pass1} ]] |
if [[ -z ${pass1} ]] |
96 |
then |
then |
119 |
rundialog_root_password_dialog() |
rundialog_root_password_dialog() |
120 |
{ |
{ |
121 |
rundialog ROOT_PASSWORD_DIALOG |
rundialog ROOT_PASSWORD_DIALOG |
122 |
echo "DEBUG: EXIT='${EXIT}'" |
debug "EXIT='${EXIT}'" |
123 |
|
|
124 |
# save given variables in env |
# save given variables in env |
125 |
# they will be shown as default on error |
# they will be shown as default on error |
147 |
rundialog_add_user_dialog() |
rundialog_add_user_dialog() |
148 |
{ |
{ |
149 |
rundialog ADD_USER_DIALOG |
rundialog ADD_USER_DIALOG |
150 |
echo "DEBUG: EXIT='${EXIT}'" |
debug "EXIT='${EXIT}'" |
151 |
|
|
152 |
# save given variables in env |
# save given variables in env |
153 |
# they will be shown as default on error |
# they will be shown as default on error |