minor updates
parent
8d3d61775c
commit
ab61abf36e
|
@ -388,22 +388,14 @@ if [ $NO_PROMPT -ne 1 ]; then
|
||||||
printf "Do you want to edit the driver options file now? (recommended) [Y/n] "
|
printf "Do you want to edit the driver options file now? (recommended) [Y/n] "
|
||||||
read -r yn
|
read -r yn
|
||||||
case "$yn" in
|
case "$yn" in
|
||||||
[nN])
|
[nN]) ;;
|
||||||
;;
|
*) ${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE} ;;
|
||||||
|
|
||||||
*)
|
|
||||||
${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE}
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
printf "Do you want to apply the new options by rebooting now? (recommended) [Y/n] "
|
printf "Do you want to apply the new options by rebooting now? (recommended) [Y/n] "
|
||||||
read -r yn
|
read -r yn
|
||||||
case "$yn" in
|
case "$yn" in
|
||||||
[nN])
|
[nN]) ;;
|
||||||
;;
|
*) reboot ;;
|
||||||
|
|
||||||
*)
|
|
||||||
reboot
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -139,9 +139,10 @@ echo
|
||||||
|
|
||||||
# if NoPrompt is not used, ask user some questions
|
# if NoPrompt is not used, ask user some questions
|
||||||
if [ $NO_PROMPT -ne 1 ]; then
|
if [ $NO_PROMPT -ne 1 ]; then
|
||||||
printf "Do you want to reboot now? (recommended) [y/N] "
|
printf "Do you want to reboot now? (recommended) [Y/n] "
|
||||||
read -r REPLY
|
read -r yn
|
||||||
case "$REPLY" in
|
case "$yn" in
|
||||||
[yY]*) reboot ;;
|
[nN]) ;;
|
||||||
|
*) reboot ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue