mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Update 91-run
This commit is contained in:
@@ -26,12 +26,6 @@ grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true
|
|||||||
# CRON OPTIONS #
|
# CRON OPTIONS #
|
||||||
################
|
################
|
||||||
|
|
||||||
# Remove default daily update
|
|
||||||
sed -i '$d' /etc/crontabs/root
|
|
||||||
|
|
||||||
# Update at boot
|
|
||||||
sed -i -e '$a @reboot /run.sh' /etc/crontabs/root
|
|
||||||
|
|
||||||
# Align update with options
|
# Align update with options
|
||||||
FREQUENCY=$(bashio::config 'Updates')
|
FREQUENCY=$(bashio::config 'Updates')
|
||||||
bashio::log.info "$Frequency updates"
|
bashio::log.info "$Frequency updates"
|
||||||
|
|||||||
Reference in New Issue
Block a user