bundles/molly-guard: introduce, add to systems
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-02-26 17:58:20 +01:00
parent 51ca74549e
commit 3adfb9779a
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 68 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
# Checks wether upgrade-and-reboot is currently running.
if [[ -f "/var/lib/bundlewrap/soft-${node.name}/UNATTENDED" ]]
then
echo "Sorry, can't $MOLLYGUARD_CMD now, upgrade-and-reboot is running"
exit 1
fi