mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-23 11:26: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
|
git pull --force
|
||||||
fi
|
fi
|
||||||
if [! -z "$myTPOT_TYPE" ]; then
|
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
|
grep -q "^TPOT_TYPE=" .env && sed -i "s/^TPOT_TYPE=.*/TPOT_TYPE=${myTPOT_TYPE}/" .env
|
||||||
fi
|
fi
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue