Update bbr.sh

pull/109/head
Mr Chen 6 years ago
parent bac9869609
commit eefab61afc
  1. 14
      plugins/bbr/scripts/bbr.sh

@ -271,13 +271,13 @@ install_config() {
reboot_os() { reboot_os() {
echo echo
echo -e "${green}Info:${plain} The system needs to reboot." echo -e "${green}Info:${plain} The system needs to reboot."
read -p "Do you want to restart system? [y/n]" is_reboot # read -p "Do you want to restart system? [y/n]" is_reboot
if [[ ${is_reboot} == "y" || ${is_reboot} == "Y" ]]; then # if [[ ${is_reboot} == "y" || ${is_reboot} == "Y" ]]; then
reboot # reboot
else # else
echo -e "${green}Info:${plain} Reboot has been canceled..." # echo -e "${green}Info:${plain} Reboot has been canceled..."
exit 0 # exit 0
fi # fi
} }
install_bbr() { install_bbr() {

Loading…
Cancel
Save