mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Update: Restore HPFEEDS
This commit is contained in:
@ -265,6 +265,13 @@ if [ -f '/data/ews/conf/ews.cfg' ] && ! grep 'ews.cfg' /opt/tpot/etc/tpot.yml >
|
||||
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 #
|
||||
@ -297,3 +304,4 @@ fuBACKUP
|
||||
fuSELFUPDATE "$0" "$@"
|
||||
fuUPDATER
|
||||
fuRESTORE_EWSCFG
|
||||
fuRESTORE_HPFEEDS
|
||||
|
Reference in New Issue
Block a user