Renaming c3Reg -> c3gov
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# c3Reg
|
||||
# c3gov
|
||||
Fill out your hacker passport using a professional dot matrix printer.
|
||||
|
||||
## Set event name
|
||||
|
||||
@@ -71,7 +71,7 @@ function heading() {
|
||||
makeLeft 1 $FILE
|
||||
makeLeft $HSPACE $FILE
|
||||
fi
|
||||
printf "c3Reg\n" >> $FILE
|
||||
printf "c3gov\n" >> $FILE
|
||||
resetLetters $FILE
|
||||
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
\fbox{\rule{#1in}{0pt}\rule[-0.5ex]{0pt}{4ex}}}
|
||||
|
||||
\title{\textbf{Application Form A23}}
|
||||
\author{c3Reg}
|
||||
\author{c3gov}
|
||||
\date{Control no. \randomnum{1000}}
|
||||
|
||||
\addtolength{\topmargin}{-2cm}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
\fbox{\rule{#1in}{0pt}\rule[-0.5ex]{0pt}{4ex}}}
|
||||
|
||||
\title{\textbf{Application Form PKSR20}}
|
||||
\author{c3Reg}
|
||||
\author{c3gov}
|
||||
\date{Control no. \answerbox{1}}
|
||||
|
||||
\addtolength{\topmargin}{-2cm}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
\title{\textbf{Privacy Policy}}
|
||||
\author{c3Reg}
|
||||
\author{c3gov}
|
||||
\date{}
|
||||
|
||||
\addtolength{\topmargin}{-2cm}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
\fbox{\rule{#1in}{0pt}\rule[-0.5ex]{0pt}{4ex}}}
|
||||
|
||||
\title{\textbf{Application Form Y42}}
|
||||
\author{c3Reg}
|
||||
\author{c3gov}
|
||||
\date{Control no. \randomnum{1000}}
|
||||
|
||||
\addtolength{\topmargin}{-1cm}
|
||||
|
||||
2
etc/systemd/system/getty@tty1.service.d/noclear.conf
Normal file
2
etc/systemd/system/getty@tty1.service.d/noclear.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
TTYVTDisallocate=no
|
||||
5
etc/systemd/system/getty@tty1.service.d/override.conf
Normal file
5
etc/systemd/system/getty@tty1.service.d/override.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=-/sbin/getty -8 38400 tty1
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
8
etc/systemd/system/getty@ttyUSB0.service.d/override.conf
Normal file
8
etc/systemd/system/getty@ttyUSB0.service.d/override.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=
|
||||
ExecStart=-/root/c3gov/start_dialog
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
8
etc/systemd/system/getty@ttyUSB1.service.d/override.conf
Normal file
8
etc/systemd/system/getty@ttyUSB1.service.d/override.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=
|
||||
ExecStart=-/root/c3gov/start_dialog
|
||||
StandardInput=tty
|
||||
StandardOutput=tty
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
@@ -73,7 +73,7 @@ function heading() {
|
||||
fi
|
||||
makeLeft $HSPACE $FILE
|
||||
fi
|
||||
printf "c3Reg\n" >> $FILE
|
||||
printf "c3gov\n" >> $FILE
|
||||
resetLetters $FILE
|
||||
|
||||
}
|
||||
@@ -71,7 +71,7 @@ function heading() {
|
||||
makeLeft 1 $FILE
|
||||
makeLeft $HSPACE $FILE
|
||||
fi
|
||||
printf "c3Reg\n" >> $FILE
|
||||
printf "c3gov\n" >> $FILE
|
||||
resetLetters $FILE
|
||||
|
||||
}
|
||||
10
start_dialog
10
start_dialog
@@ -5,9 +5,9 @@ export TERM=vt220
|
||||
|
||||
export DIALOGRC=dialogrc
|
||||
|
||||
LOCKFILE=/tmp/c3reglock
|
||||
LOCKFILE=/tmp/c3govlock
|
||||
TMP=/tmp/$RANDOM
|
||||
BT="c3Reg - v0.4"
|
||||
BT="c3gov - v0.5"
|
||||
|
||||
cd $(dirname "$0")
|
||||
|
||||
@@ -223,12 +223,12 @@ function printReg() {
|
||||
}
|
||||
|
||||
function printC3RegStamp() {
|
||||
askForField "c3Reg stamp" "$1"
|
||||
askForField "c3gov stamp" "$1"
|
||||
if [ $? -eq 0 ]; then
|
||||
checkLockFile
|
||||
diaBox "Insert Passport" "Please insert passport (Visas) into the printer."
|
||||
cd "$1"
|
||||
./c3reg $FIELD
|
||||
./c3gov $FIELD
|
||||
cd ..
|
||||
rm $LOCKFILE
|
||||
return 0
|
||||
@@ -319,7 +319,7 @@ function askReg() {
|
||||
|
||||
confirm=" Forename: $FNAME\n Surname: $SNAME\n Place: $PLANET"
|
||||
|
||||
ynBox "c3Reg Stamp" "Does this being want to have a c3Reg stamp?"
|
||||
ynBox "c3gov Stamp" "Does this being want to have a c3gov stamp?"
|
||||
if [ $? -eq 0 ]; then
|
||||
STAMP=true
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user