mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 01:55:59 +02:00
Update 91-run
This commit is contained in:
@@ -29,6 +29,9 @@ grep -rl 'api/' /app | xargs sed -i 's|api/|./api/|g' || true
|
|||||||
# Remove default daily update
|
# Remove default daily update
|
||||||
sed -i '$d' /etc/crontabs/root
|
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