10 lines
228 B
Text
10 lines
228 B
Text
|
#!/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
|