kernel: INSTALL: create boot/grub if necessary.
--HG-- extra : convert_revision : 423882f57bb91492d092736e79529e1e27e23b1e
This commit is contained in:
parent
acdbc4bc1a
commit
3376aa55fe
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ pre)
|
||||||
;;
|
;;
|
||||||
post)
|
post)
|
||||||
if [ ! -f $menulst ]; then
|
if [ ! -f $menulst ]; then
|
||||||
|
[ ! -d boot/grub ] && mkdir -p boot/grub
|
||||||
echo "default 0" >> $menulst
|
echo "default 0" >> $menulst
|
||||||
echo "timeout 5" >> $menulst
|
echo "timeout 5" >> $menulst
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue