|
|
@ -553,7 +553,7 @@ function createlukskey {
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
echo "Updating initramfs"
|
|
|
|
echo "Updating initramfs"
|
|
|
|
update-initramfs -u all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
echo "Securing directories..."
|
|
|
|
echo "Securing directories..."
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
@ -640,7 +640,7 @@ function importlukskey {
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
echo "Updating initramfs"
|
|
|
|
echo "Updating initramfs"
|
|
|
|
update-initramfs -u all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
echo "Securing directories..."
|
|
|
|
echo "Securing directories..."
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
@ -776,7 +776,7 @@ while [[ 1 -eq 1 ]]; do
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
echo "Updating initramfs"
|
|
|
|
echo "Updating initramfs"
|
|
|
|
update-initramfs -u all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
echo "Securing directories..."
|
|
|
|
echo "Securing directories..."
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
@ -841,7 +841,7 @@ while [[ 1 -eq 1 ]]; do
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
echo "Updating initramfs"
|
|
|
|
echo "Updating initramfs"
|
|
|
|
update-initramfs -u all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
echo "Securing directories..."
|
|
|
|
echo "Securing directories..."
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
@ -941,7 +941,7 @@ while [[ 1 -eq 1 ]]; do
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod 600 /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
chmod a+x /usr/bin/smartauth.sh
|
|
|
|
echo "Updating initramfs"
|
|
|
|
echo "Updating initramfs"
|
|
|
|
update-initramfs -u all
|
|
|
|
update-initramfs -u -k all
|
|
|
|
echo "Securing directories..."
|
|
|
|
echo "Securing directories..."
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod 600 "/boot/initrd.img-$(uname -r)"
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|
chmod -R 600 /etc/smartauth
|
|
|
|