mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +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
|
else
|
||||||
echo "[ NOT OK ]"
|
echo "[ NOT OK ]"
|
||||||
echo "### 'dialogrc' is missing. Please run 'install.sh' from within the setup folder."
|
echo "### 'dialogrc' is missing. Please run 'install.sh' from within the setup folder."
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,6 +194,7 @@ fuGET_DEPS
|
||||||
fuCHECK_PORTS
|
fuCHECK_PORTS
|
||||||
fuDIALOG_SETUP
|
fuDIALOG_SETUP
|
||||||
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Installer #
|
# Installer #
|
||||||
#############
|
#############
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
plymouth --quit
|
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"
|
myTPOTDIR="tpotiso"
|
||||||
myTPOTSEED="iso/preseed/tpot.seed"
|
myTPOTSEED="iso/preseed/tpot.seed"
|
||||||
myPACKAGES="dialog genisoimage syslinux syslinux-utils pv udisks2"
|
myPACKAGES="dialog genisoimage syslinux syslinux-utils pv udisks2"
|
||||||
myAUTHKEYSFILE="iso/installer/keys/authorized_keys"
|
|
||||||
myPFXFILE="iso/installer/keys/8021x.pfx"
|
myPFXFILE="iso/installer/keys/8021x.pfx"
|
||||||
myINSTALLERPATH="iso/installer/install.sh"
|
myINSTALLERPATH="iso/installer/install.sh"
|
||||||
myNTPCONFFILE="iso/installer/ntp.conf"
|
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 ...
|
# Let's clean up at the end or if something goes wrong ...
|
||||||
function fuCLEANUP {
|
function fuCLEANUP {
|
||||||
rm -rf $myTMP $myTPOTDIR $myPFXFILE $myNTPCONFFILE $myCONF_FILE
|
rm -rf $myTMP $myTPOTDIR $myPFXFILE $myNTPCONFFILE $myCONF_FILE
|
||||||
echo > $myAUTHKEYSFILE
|
|
||||||
if [ -f $myTPOTSEED.bak ];
|
if [ -f $myTPOTSEED.bak ];
|
||||||
then
|
then
|
||||||
mv $myTPOTSEED.bak $myTPOTSEED
|
mv $myTPOTSEED.bak $myTPOTSEED
|
||||||
|
|
Loading…
Reference in a new issue