mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-06-30 20:12:11 +00:00
tweaking
This commit is contained in:
parent
cad11c40a8
commit
d07a128181
4 changed files with 4 additions and 4 deletions
|
@ -153,6 +153,7 @@ if [ -f "dialogrc" ];
|
|||
else
|
||||
echo "[ NOT OK ]"
|
||||
echo "### 'dialogrc' is missing. Please run 'install.sh' from within the setup folder."
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -193,6 +194,7 @@ fuGET_DEPS
|
|||
fuCHECK_PORTS
|
||||
fuDIALOG_SETUP
|
||||
|
||||
|
||||
#############
|
||||
# Installer #
|
||||
#############
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
plymouth --quit
|
||||
openvt -f -w -s /root/installer/install.sh
|
||||
cd /root/installer
|
||||
openvt -f -w -s install.sh --type=iso
|
||||
|
|
|
@ -14,7 +14,6 @@ myTPOTISO="tpot.iso"
|
|||
myTPOTDIR="tpotiso"
|
||||
myTPOTSEED="iso/preseed/tpot.seed"
|
||||
myPACKAGES="dialog genisoimage syslinux syslinux-utils pv udisks2"
|
||||
myAUTHKEYSFILE="iso/installer/keys/authorized_keys"
|
||||
myPFXFILE="iso/installer/keys/8021x.pfx"
|
||||
myINSTALLERPATH="iso/installer/install.sh"
|
||||
myNTPCONFFILE="iso/installer/ntp.conf"
|
||||
|
@ -56,7 +55,6 @@ cp host/etc/dialogrc /etc/
|
|||
# Let's clean up at the end or if something goes wrong ...
|
||||
function fuCLEANUP {
|
||||
rm -rf $myTMP $myTPOTDIR $myPFXFILE $myNTPCONFFILE $myCONF_FILE
|
||||
echo > $myAUTHKEYSFILE
|
||||
if [ -f $myTPOTSEED.bak ];
|
||||
then
|
||||
mv $myTPOTSEED.bak $myTPOTSEED
|
||||
|
|
Loading…
Reference in a new issue