security sticker™

This commit is contained in:
2025-12-07 19:16:46 +01:00
parent 9ca4126e8a
commit fea4680642
2 changed files with 68 additions and 0 deletions

38
stapleddipl/secure Executable file
View File

@@ -0,0 +1,38 @@
#!/bin/bash
FILE=/tmp/$RANDOM
TOP=1
LEFT=5
VISAPAGES=1
# GPG Space
NEXTPAGE=34
NEXTPAGESMALL=60
NEXTFIELDBOTTOM=13
NEXTFIELDRIGHT=18
NEXTFIELDRIGHTSMALL=30
if [ $# -eq 0 ]; then
echo "Syntax: $0 <SecurityNumber>"
exit 1
fi
sn=$1
source ../include/nixdorf
init
makeNewline $TOP $FILE
makeLeft $LEFT $FILE
printf "$sn" >> $FILE
makeLeft $NEXTPAGE $FILE
printf "$sn" >> $FILE
echo "Only use the pages saying \"VISAs\" on top"
for (( i=1; i<=$VISAPAGES; i++)); do
echo -e "Insert page $i of $VISAPAGES\n"
printFile $FILE
done
rm $FILE