diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/lib-ui.sh | 32 | ||||
-rw-r--r-- | src/lib/whatsthis.txt | 5 |
2 files changed, 34 insertions, 3 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 diff --git a/src/lib/whatsthis.txt b/src/lib/whatsthis.txt index 1125767..72e5e15 100644 --- a/src/lib/whatsthis.txt +++ b/src/lib/whatsthis.txt @@ -1,7 +1,7 @@ This directory contains several useful functions and scripts, ready to be used by fifa and it's profiles. -Right now, all this code is taken (and modified) from the 'real' arch linux install scripts +Most of this code is taken (and modified) from the 'real' arch linux install scripts code. (/arch/setup and /arch/quickinst). the modifications are mostly done to make the code more useable and to separate backend code from the user interface (which was tightly coupled in the original scripts) @@ -11,4 +11,5 @@ I couldn't find what license the code is under, but I assume this is okay.. if not let me know. The original code is at http://projects.archlinux.org/?p=installer.git;a=summary -Later on, maybe other code can be put here too. +I also wrote a few functions myself that I didn't find in the official +scripts (mostly separate ui functions) |