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 b0a2570 commit a644d1bCopy full SHA for a644d1b
initrd/bin/flash-gui.sh
@@ -80,7 +80,12 @@ while true; do
80
whiptail --title 'ROM Flashed Successfully' \
81
--msgbox "${ROM#"/media/"}\n\nhas been flashed successfully.\n\nPress Enter to reboot\n" 0 80
82
umount /media
83
- /bin/reboot
+
84
+ if [ "${CONFIG_BOARD%_*}" = nitropad-nv41 || "${CONFIG_BOARD%_*}" = nitropad-ns51 ]; then
85
+ /bin/nitropad-shutdown.sh
86
+ else
87
+ /bin/reboot
88
+ fi
89
else
90
exit
91
fi
0 commit comments