Make sure sign boot is single-instance.
This commit is contained in:
parent
0e6f6e0e0d
commit
d14e408298
@ -1,4 +1,8 @@
|
||||
#!/bin/bash
|
||||
if [ -f /run/signing ]; then
|
||||
echo "[-] Signing already in progress!";
|
||||
fi;
|
||||
/usr/bin/touch /run/signing;
|
||||
echo "[*] Preparing to sign!";
|
||||
#touch /dev/shm/sb-passpwd.txt;
|
||||
#chown root:root /dev/shm/sb-passpwd.txt;
|
||||
@ -38,4 +42,5 @@ do
|
||||
/usr/bin/gpg --batch --detach-sign $i;
|
||||
done;
|
||||
#shred /dev/shm/sb-passpwd.txt;
|
||||
/usr/bin/rm -f /run/signing;
|
||||
echo "[*] Signing Complete!";
|
||||
|
Loading…
Reference in New Issue
Block a user