Fix boot-verify-sign
This commit is contained in:
parent
e384f07a18
commit
1981d4b09c
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/bin/bash /usr/local/sbin/verify-boot;
|
/bin/bash /usr/local/sbin/verify-boot;
|
||||||
if [ $? != 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Bad" > /opt/boot-verify-state;
|
echo "Bad" > /opt/boot-verify-state;
|
||||||
/bin/bash /usr/local/sbin/sign-boot;
|
/bin/bash /usr/local/sbin/sign-boot;
|
||||||
echo "Good" > /opt/boot-verify-state;
|
echo "Good" > /opt/boot-verify-state;
|
||||||
|
Loading…
Reference in New Issue
Block a user