🚑 Fixes incorrect Bashio log calls

This commit is contained in:
Franck Nijhof 2019-04-20 15:14:34 +02:00
parent 0fa1735e88
commit 5be3ce6737
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -32,9 +32,9 @@ fi
# Configure motion webcontrol access # Configure motion webcontrol access
if bashio::config.true 'motion_webcontrol'; then if bashio::config.true 'motion_webcontrol'; then
bashio::log.info "Enabling motion webcontrol..." bashio::log.info "Enabling motion webcontrol..."
bashio::.log.warning "This opens up an UNSECURE port to the outside world!" bashio::log.warning "This opens up an UNSECURE port to the outside world!"
bashio::.log.warning "This port has NO SSL & NO AUTHENICATION!" bashio::log.warning "This port has NO SSL & NO AUTHENICATION!"
bashio::.log.warning "YOU HAVE BEEN WARNED!" bashio::log.warning "YOU HAVE BEEN WARNED!"
sed -i "s/webcontrol_localhost on/webcontrol_localhost off/" "$MOTION" sed -i "s/webcontrol_localhost on/webcontrol_localhost off/" "$MOTION"
else else
sed -i "s/webcontrol_localhost off/webcontrol_localhost on/" "$MOTION" sed -i "s/webcontrol_localhost off/webcontrol_localhost on/" "$MOTION"