We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9d2de commit 66682d0Copy full SHA for 66682d0
1 file changed
initrd/bin/flash-gui.sh
@@ -74,7 +74,13 @@ while true; do
74
whiptail --title 'ROM Flashed Successfully' \
75
--msgbox "${ROM#"/media/"}\n\nhas been flashed successfully.\n\nPress Enter to reboot\n" 0 80
76
umount /media
77
- /bin/reboot
+
78
79
+ if [ "${CONFIG_BOARD%_*}" = nitropad-nv41 || "${CONFIG_BOARD%_*}" = nitropad-ns51 ]; then
80
+ /bin/nitropad-shutdown.sh
81
+ else
82
+ /bin/reboot
83
+ fi
84
else
85
exit
86
fi
0 commit comments