SecuritySticker-Support; docs and logo
This commit is contained in:
32
start_dialog
32
start_dialog
@@ -356,6 +356,16 @@ function enterSecurityCode() {
|
||||
|
||||
}
|
||||
|
||||
function printSecurePassportFirstPage(){
|
||||
checkLockFile
|
||||
diaBox "Insert Passport" "Pleast insert the FIRST PAGE (Identity) into the printer."
|
||||
|
||||
cd "$1"
|
||||
./secure_firstpage "$SECURITYCODE"
|
||||
cd ..
|
||||
rm $LOCKFILE
|
||||
}
|
||||
|
||||
function printSecurePassport(){
|
||||
checkLockFile
|
||||
diaBox "Insert Passport" "Please insert passport (Visas) into the printer.\nA print on EVERY Visa page is necessary."
|
||||
@@ -396,12 +406,24 @@ function menuFor() {
|
||||
printGPG "$1"
|
||||
fi
|
||||
;;
|
||||
4) enterSecurityCode
|
||||
if [ $? -eq 0 ]; then
|
||||
printSecurePassport "$1"
|
||||
8) if [ "$1" = "bounddipl" ]; then
|
||||
diaBox "Error" "Passport not supported."
|
||||
else
|
||||
enterSecurityCode
|
||||
if [ $? -eq 0 ]; then
|
||||
case $1 in
|
||||
"bounddipl")
|
||||
;;
|
||||
"jhp")
|
||||
printSecurePassport "$1"
|
||||
;;
|
||||
*)
|
||||
printSecurePassportFirstPage "$1"
|
||||
printSecurePassport "$1"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
esac
|
||||
unset FNAME
|
||||
unset SNAME
|
||||
|
||||
Reference in New Issue
Block a user