bash-stuff/local-sbin/boot-verify-sign
Captain ALM a469c7b298
Reorganise files.
Add makefile.machine for p7zip
2024-06-12 15:05:03 +01:00

10 lines
240 B
Bash
Executable File

#!/bin/bash
/bin/bash /usr/local/sbin/verify-boot;
if [ $? -ne 0 ]; then
echo "Bad" > /opt/boot-verify-state;
/bin/bash /usr/local/sbin/sign-boot;
echo "Good" > /opt/boot-verify-state;
else
echo "Good" > /opt/boot-verify-state;
fi;