mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-23 03:16:55 +00:00
update update.sh, discriminate whether it is SENSOR or HIVE
This commit is contained in:
parent
cb8933cddb
commit
d94207e56e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ function fuSELFUPDATE () {
|
|||
git pull --force
|
||||
fi
|
||||
if [! -z "$myTPOT_TYPE" ]; then
|
||||
echo "### Setting T-Pot type to: $myTPOT_TYPE in .env"
|
||||
echo "### Setting T-Pot type to: $myTPOT_TYPE"
|
||||
grep -q "^TPOT_TYPE=" .env && sed -i "s/^TPOT_TYPE=.*/TPOT_TYPE=${myTPOT_TYPE}/" .env
|
||||
fi
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue