kopia lustrzana https://github.com/F5OEO/rpidatv
Tidy User Input Test
rodzic
aa8e0b3f00
commit
955cad1c60
10
install.sh
10
install.sh
|
@ -155,13 +155,9 @@ printf "A reboot will be required before using the software."
|
||||||
printf "Do you want to reboot now? (y/n)\n"
|
printf "Do you want to reboot now? (y/n)\n"
|
||||||
read -n 1
|
read -n 1
|
||||||
printf "\n"
|
printf "\n"
|
||||||
if [ "$REPLY" = "Y" ]; then
|
if [[ "$REPLY" = "y" || "$REPLY" = "Y" ]]; then
|
||||||
echo "rebooting"
|
echo "rebooting"
|
||||||
sudo reboot now
|
sudo reboot now
|
||||||
fi
|
|
||||||
if [ "$REPLY" = "y" ]; then
|
|
||||||
echo "rebooting"
|
|
||||||
sudo reboot now
|
|
||||||
fi
|
fi
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue