--- grubconfig.orig 2014-02-17 19:59:26.187053383 +0200 +++ grubconfig 2013-12-05 19:38:25.000000000 +0200 @@ -1,8 +1,8 @@ -#!/bin/sh + +#!/bin/bash # # Copyright 2013 Dimitris Tzemos -# Copyright 2013 SalixOS Linux, -# Copyright 2013 Slackel Linux +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Set OS name (Slackel, Salix) -#OS="Slackel $(sed -e 's/^Slackware //' /etc/slackware-version)" +# Set OS name # are we on a running system? if [ -r /etc/slackware-version ]; then OS="Salix $(sed -e 's/^Slackware //' /etc/slackware-version)" @@ -33,8 +32,7 @@ fi # Title -#BACKTITLE="$OS GRUB2 Installer v0.1 - By Dimitris Tzemos " -BACKTITLE="$OS - GRUB2 Installer" +BACKTITLE="$OS - GRUB Installer" initialize(){ # Create temporary directory @@ -123,9 +121,9 @@ # Setup Menu dialog --backtitle "$BACKTITLE" --title " INSTALL GRUB2 " \ --menu "\nWhere do you want to install the boot loader?" 0 0 0 \ -"MBR" "Be installed in $(echo "$DEV"|sed 's/[0-9]$//') (recommended) " \ -"ROOT" "Be installed in $DEV (Expert)" \ -"EXIT" "Quit (Do not install the grub2)" \ +"MBR" "Install in $(echo "$DEV"|sed 's/[0-9]$//') (recommended) " \ +"ROOT" "Install in $DEV (Expert)" \ +"EXIT" "Quit (Do not install GRUB)" \ 2> $TMP/option_menu.txt OPTION="$(cat $TMP/option_menu.txt)" if [ "$OPTION" = "MBR" ]; then