diff options
-rw-r--r-- | src/main.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.sh b/src/main.sh index aa07e51..c0a363c 100644 --- a/src/main.sh +++ b/src/main.sh @@ -77,6 +77,8 @@ main() if ! init_ui "${ui}"; then exit 1 fi + srand $(expr ${$} + $(date '+%s')) + temp_init while :; do case "$(show_menu 'Firmware Manager' 'Update firmware' \ @@ -92,5 +94,8 @@ main() printf '\n' done + temp_fini + exit_ui + return 0 } |