Add permissions to file

This commit is contained in:
LinuxSquare 2023-09-29 18:58:24 +02:00
parent 3d080e251e
commit 396dc38a8a

View file

@ -93,6 +93,8 @@ done
sed -i -e "1i `echo 'cat <<EOF'`" "${grubdir}/$(getValueByKey 'filename')"
echo "EOF" >> "${grubdir}/$(getValueByKey 'filename')"
chmod 755 "${grubdir}/$(getValueByKey 'filename')"
grub-mkconfig -o $(getValueByKey 'grub_cfg')
less $(getValueByKey 'grub_cfg')