From ba9b80f15ad31509840926f7568ddfc57921ad60 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Fri, 31 Oct 2008 17:00:41 +0100 Subject: lots of changes related to making the choice of the UI between cli and dialog fully transparant. this is a work in progress --- src/lib/lib-ui.sh | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'src/lib/lib-ui.sh') 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 -- cgit v1.2.3-54-g00ecf