mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-03 10:13:39 +00:00
minor updates
This commit is contained in:
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] "
|
||||
read -r yn
|
||||
case "$yn" in
|
||||
[nN])
|
||||
;;
|
||||
|
||||
*)
|
||||
${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE}
|
||||
;;
|
||||
[nN]) ;;
|
||||
*) ${TEXT_EDITOR} /etc/modprobe.d/${OPTIONS_FILE} ;;
|
||||
esac
|
||||
|
||||
printf "Do you want to apply the new options by rebooting now? (recommended) [Y/n] "
|
||||
read -r yn
|
||||
case "$yn" in
|
||||
[nN])
|
||||
;;
|
||||
|
||||
*)
|
||||
reboot
|
||||
;;
|
||||
[nN]) ;;
|
||||
*) reboot ;;
|
||||
esac
|
||||
fi
|
||||
|
@ -139,9 +139,10 @@ echo
|
||||
|
||||
# if NoPrompt is not used, ask user some questions
|
||||
if [ $NO_PROMPT -ne 1 ]; then
|
||||
printf "Do you want to reboot now? (recommended) [y/N] "
|
||||
read -r REPLY
|
||||
case "$REPLY" in
|
||||
[yY]*) reboot ;;
|
||||
printf "Do you want to reboot now? (recommended) [Y/n] "
|
||||
read -r yn
|
||||
case "$yn" in
|
||||
[nN]) ;;
|
||||
*) reboot ;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user