mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +00:00
make it compatible with autoinstaller
t-pot autoinstaller cannot rely on /home/tsec, root directory is suggested.
This commit is contained in:
parent
f767c829e4
commit
db8a37a94d
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ systemctl stop tpot
|
|||
|
||||
# Better safe than sorry
|
||||
echo "###### Creating backup and storing it in /home/tsec"
|
||||
tar cvfz /home/tsec/tpot_backup.tgz /opt/tpot
|
||||
tar cvfz /root/tpot_backup.tgz /opt/tpot
|
||||
|
||||
echo "###### Getting the current install flavor"
|
||||
myFLAVOR=$(head $myCONFIGFILE -n 1 | awk '{ print $3 }' | tr -d :'()':)
|
||||
|
|
Loading…
Reference in a new issue