diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 17:00:41 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-10-31 17:00:41 +0100 |
commit | ba9b80f15ad31509840926f7568ddfc57921ad60 (patch) | |
tree | aed6c2575cfbea7974a1fc59609a2f62e166c391 /src/lib/lib-ui.sh | |
parent | 5356859d1b9a8155007d2f79a880b8ac5ba8a15e (diff) |
lots of changes related to making the choice of the UI between cli and dialog fully transparant. this is a work in progress
Diffstat (limited to 'src/lib/lib-ui.sh')
-rw-r--r-- | src/lib/lib-ui.sh | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/src/lib/lib-ui.sh b/src/lib/lib-ui.sh index 5cd7ecc..37f316e 100644 --- a/src/lib/lib-ui.sh +++ b/src/lib/lib-ui.sh @@ -58,4 +58,34 @@ gui_ask_bootloader() "None" "\Zb\Z1Warning\Z0\ZB: you must install your own bootloader!" 2>$ANSWER cat $ANSWER } -
\ No newline at end of file + + +# ask the user a password. return is stored in $PASSWORD or $PASSWORD_TYPE +# $1 type (optional. eg 'svn', 'ssh'). +cli_ask_password () +{ + if [ -n "$1" ] + then + true + fi +} + +cli_ask_yesno () +{ +} + +cli_ask_string () +{ +} + + +cli_ask_number () +{ +} + + +cli_ask_option () +{ +} + +
\ No newline at end of file |