Commit d7e23417 authored by nikaeinn's avatar nikaeinn
Browse files

minor update in build_m5g

parent 2ce174d1
...@@ -411,7 +411,7 @@ build_ovs_gtp(){ ...@@ -411,7 +411,7 @@ build_ovs_gtp(){
cd ovs_kernel_gtp cd ovs_kernel_gtp
check_current_kernel check_current_kernel
if [[ $REQUIRED_KERNEL_IS_INSTALLED == false ]]; then if [ "$REQUIRED_KERNEL_IS_INSTALLED" == "false" ]; then
echo "You haven't installed kernel 4.9. Do you want to install it now?" echo "You haven't installed kernel 4.9. Do you want to install it now?"
echo -n 'y/n:' echo -n 'y/n:'
read install_kernel read install_kernel
...@@ -421,8 +421,8 @@ build_ovs_gtp(){ ...@@ -421,8 +421,8 @@ build_ovs_gtp(){
echo_info "You need to reboot" echo_info "You need to reboot"
else else
echo_info "You need to install kernel 4.9 to proceed with the installation of ovs-gtp" echo_info "You need to install kernel 4.9 to proceed with the installation of ovs-gtp"
exit 0
fi fi
exit 0
else else
echo_info "Required kernel is installed" echo_info "Required kernel is installed"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment