mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Fixed file existing detection bug
Iin 2-para-install.sh
This commit is contained in:
parent
a7c48adc9e
commit
0a4238165c
3 changed files with 5 additions and 3 deletions
|
|
@ -108,4 +108,4 @@ HEREDOC
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "1-pre-install.sh : Done."
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# Check whether grub configuration file is ready to write
|
# Check whether grub configuration file is ready to write
|
||||||
if [ ! -d /target/etc/default/grub ] ; then
|
if [ ! -e /target/etc/default/grub ] ; then
|
||||||
cat <<HEREDOC 1>&2
|
cat <<HEREDOC 1>&2
|
||||||
***** ERROR : The /target/etc/default/grub is not ready. *****
|
***** ERROR : The /target/etc/default/grub is not ready. *****
|
||||||
Perhaps, to early to execute this script.
|
Perhaps, to early to execute this script.
|
||||||
|
|
@ -27,3 +27,5 @@ fi
|
||||||
|
|
||||||
# Make target GRUB aware to the crypt partition
|
# Make target GRUB aware to the crypt partition
|
||||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /target/etc/default/grub
|
echo "GRUB_ENABLE_CRYPTODISK=y" >> /target/etc/default/grub
|
||||||
|
|
||||||
|
echo "2-para-install.sh : Done."
|
||||||
|
|
@ -50,4 +50,4 @@ update-initramfs -uk all
|
||||||
exit
|
exit
|
||||||
HEREDOC
|
HEREDOC
|
||||||
|
|
||||||
echo "Install finished. Ready to reboot."
|
echo "3-para-install.sh : Done."
|
||||||
Loading…
Add table
Add a link
Reference in a new issue