Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better output. Menu logic

  • Loading branch information...
commit 9529ea5adbeab696077df449e44f0e6f56cf53df 1 parent 4fa61cf
@thomasfrivold authored
Showing with 17 additions and 8 deletions.
  1. +2 −1  LUKSUS
  2. +9 −4 LUKSUS.functions
  3. +6 −3 README
View
3  LUKSUS
@@ -164,6 +164,7 @@ echo The data below can also be found in /keys/$name.information
DISPLAYSUMMARY
WRITEINFORMATIONFILE
DISPLAYSUMMARYGRAPHICAL
-DISPLAYSUMMARY
+# do we really want this anymore DISPLAYSUMMARY
EXITHOUSEKEEPING
+GOODBYE
exit 0
View
13 LUKSUS.functions
@@ -38,6 +38,12 @@ case $retval in
esac
}
+GOODBYE()
+{
+$dialogapp --msgbox "THANK YOU FOR USING $programname.\n A session summary was saved in $keydir/$name.information" 0 0;
+clear
+}
+
SECURITYMODE()
{
DIALOGAPP=${DIALOG=dialog}
@@ -293,6 +299,7 @@ DISPLAYLOGO ()
DISPLAYSUMMARY ()
{
echo "Showing the contents of file: $keydir/$name.information";
+ echo Timestamp:
date;
echo Results of LUKSUS:;
echo DRIVE: $device;
@@ -313,12 +320,10 @@ DISPLAYSUMMARY ()
time2="$(date +%s.%N)";
ls -l $device
}
-
DISPLAYSUMMARYGRAPHICAL ()
{
-$dialogapp --msgbox "All the following information can be found
-in\n$keydir/$name.information" 0 0;
-$dialogapp --textbox $keydir/$name.information 0 0;
+$dialogapp --msgbox "Volume creation procedure is complete. Press enter to view a summary. All the following information can also be found in\n$keydir/$name.information" 0 0;
+$dialogapp --title "Showing the contents of file: $keydir/$name.information" --textbox $keydir/$name.information 0 0;
}
View
9 README
@@ -364,13 +364,15 @@ just so that the user experience is smoother.
########################################################
-Project overall todo:
+Project government, community feedback:
Get user feedback, feature requests
Dare to post it to "Show Hackernews" (news.ycombinator.com)
Dare to post it to newslists, DragonFlyBSD users list, NetBSD users
list, FreeBSD users list
+
Engines todo:
+Create an autodetector on OS and present available engines based on OS
Add NetBSD support, cgd [50% done!]
Add OpenBSD , bioctl support
Add PGP / OpenPGP container support (maybe, if feasible)
@@ -385,12 +387,13 @@ Test keyfile handling properly with GELI
# User interaction things
Attempt to improve overall code, eliminate and kill laughable hacks
+Attempt to follow the Google shell script manual of style
Improve conditional statements, get rid of redundant echo "" lines
[done, must verify] Add LUKSUS status to key.information
-Improve LUKSUS output in Dialog window, remove keyfile information
-if the user is not using a keyfile.
+Improve LUKSUS output in Dialog window:
+remove keyfile information if the user is not using a keyfile.
[done, must verify] Add mount command and losetup/vnconfig to key.information for added usability
Please sign in to comment.
Something went wrong with that request. Please try again.