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"
|
||||
read -n 1
|
||||
printf "\n"
|
||||
if [ "$REPLY" = "Y" ]; then
|
||||
echo "rebooting"
|
||||
sudo reboot now
|
||||
fi
|
||||
if [ "$REPLY" = "y" ]; then
|
||||
echo "rebooting"
|
||||
sudo reboot now
|
||||
if [[ "$REPLY" = "y" || "$REPLY" = "Y" ]]; then
|
||||
echo "rebooting"
|
||||
sudo reboot now
|
||||
fi
|
||||
exit
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue