This commit is contained in:
@RubenKelevra 2017-03-14 21:55:58 +00:00 committed by GitHub
commit 11e96cabba
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# Create a lockfile for 3rd-party scripts which can be checked easily to ensure that
# no reboot will be initiated while autoupdater is running
lockfile='/tmp/autoupdate.lock'
touch $lockfile || logger "gluon-autoupdater: lockfile could not be written"
exit 0