mirror of
https://github.com/troglobit/finit.git
synced 2026-11-10 16:31:21 +00:00
Minor, script output updates
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
07790f4044
commit
d236709457
1 file changed
+7
-1
@@ -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/'`
|
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
|
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
|
update-grub
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "*** Done"
|
||||||
|
echo
|
||||||
else
|
else
|
||||||
echo "Aborting install."
|
echo
|
||||||
|
echo "*** Aborting install."
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user