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
|
|
@ -15,7 +15,7 @@ fi
|
|||
|
||||
|
||||
# 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
|
||||
***** ERROR : The /target/etc/default/grub is not ready. *****
|
||||
Perhaps, to early to execute this script.
|
||||
|
|
@ -27,3 +27,5 @@ fi
|
|||
|
||||
# Make target GRUB aware to the crypt partition
|
||||
echo "GRUB_ENABLE_CRYPTODISK=y" >> /target/etc/default/grub
|
||||
|
||||
echo "2-para-install.sh : Done."
|
||||
Loading…
Add table
Add a link
Reference in a new issue