Skip to content
Snippets Groups Projects
Commit 35d8ff57 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-autoupdater: unconditionally perform an update 5 minutes after boot when...

gluon-autoupdater: unconditionally perform an update 5 minutes after boot when the whole PRIORITY delay has passed
parent a39f527d
No related branches found
No related tags found
No related merge requests found
#!/bin/sh /etc/rc.common
START=99
SERVICE_NAME=gluon-autoupdater
SERVICE_WRITE_PID=1
SERVICE_DAEMONIZE=1
start() {
[ "$(uci get autoupdater.settings.enabled)" = 1 ] || return
service_start /bin/sh /lib/gluon/autoupdater/delayed_update
}
stop() {
service_stop /bin/sh
}
#!/bin/sh
# wait for 5 minutes after boot
sleep 300
exec /lib/gluon/autoupdater/autoupdate -o
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment