mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Minor, script output updates
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -42,6 +42,12 @@ if [ "x$yorn" = "xy" -o "x$yorn" = "xY" ]; then
|
||||
ROOT=`grep root=UUID /boot/grub/grub.cfg |head -1 |sed 's/.*UUID=\([a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*-[a-f0-9]*\).*/\1/'`
|
||||
cat grub.d/40_custom | sed "s,\$BOOT,$BOOT,;s,\$ROOT,$ROOT,;s,\$TYPE,$TYPE,;s,\$MENU,$MENU," >/etc/grub.d/40_custom
|
||||
update-grub
|
||||
|
||||
echo
|
||||
echo "*** Done"
|
||||
echo
|
||||
else
|
||||
echo "Aborting install."
|
||||
echo
|
||||
echo "*** Aborting install."
|
||||
echo
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user