Commit 787b1419 authored by Eric Vidal's avatar Eric Vidal
Browse files

let's the choice to install bootloader or not

parent ab3a6c70
Loading
Loading
Loading
Loading
+18 −10
Original line number Diff line number Diff line
@@ -732,16 +732,24 @@ edit_syslinux(){
	"$editor" "/boot/syslinux/syslinux.cfg"
}

##		Reply functions
## return 0 for yes
## return 1 for no
reply_answer(){
	local reply
	read reply
	while [[ ! "$reply" = @(y|n) ]]; do
		answer
		read reply
	done
	if [ "$reply" == "y" ]; then
		return 0
	else
		return 1
	fi	
}
	
#define_bootloader(){
	
#}
##		Reply functions
#reply_answer(){
#	local reply
#	echo_display " Would you like define your hostname"
#	read reply
#	while [[ ! "$reply" = @(y|n) ]]; do
#		answer
#		read reply
#	done
#}