mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
Update: Restore HPFEEDS
This commit is contained in:
parent
6b40c1ca7f
commit
c5585f2652
1 changed files with 8 additions and 0 deletions
|
@ -265,6 +265,13 @@ if [ -f '/data/ews/conf/ews.cfg' ] && ! grep 'ews.cfg' /opt/tpot/etc/tpot.yml >
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function fuRESTORE_HPFEEDS () {
|
||||||
|
if [ -f '/data/ews/conf/hpfeeds.cfg' ]; then
|
||||||
|
echo "### Restoring HPFEEDS in tpot.yml"
|
||||||
|
./bin/hpfeeds_optin.sh --conf=/data/ews/conf/hpfeeds.cfg
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
################
|
################
|
||||||
# Main section #
|
# Main section #
|
||||||
|
@ -297,3 +304,4 @@ fuBACKUP
|
||||||
fuSELFUPDATE "$0" "$@"
|
fuSELFUPDATE "$0" "$@"
|
||||||
fuUPDATER
|
fuUPDATER
|
||||||
fuRESTORE_EWSCFG
|
fuRESTORE_EWSCFG
|
||||||
|
fuRESTORE_HPFEEDS
|
||||||
|
|
Loading…
Reference in a new issue