10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
#!/bin/bash
|
|
/bin/bash /usr/local/sbin/verify-boot;
|
|
if [ $? != 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;
|