|
4 | 4 | # |
5 | 5 | # Original Creation Date: 2023-Oct-01 by @ExtremeFiretop. |
6 | 6 | # Official Co-Author: @Martinski W. - Date: 2023-Nov-01 |
7 | | -# Last Modified: 2025-Feb-21 |
| 7 | +# Last Modified: 2025-Feb-22 |
8 | 8 | ################################################################### |
9 | 9 | set -u |
10 | 10 |
|
@@ -500,52 +500,62 @@ _ShowLogo_() |
500 | 500 | echo -e "${NOct}" |
501 | 501 | } |
502 | 502 |
|
503 | | -##---------------------------------------## |
504 | | -## Added by ExtremeFiretop [2024-Jul-03] ## |
505 | | -##---------------------------------------## |
| 503 | +##----------------------------------------## |
| 504 | +## Modified by Martinski W. [2025-Feb-22] ## |
| 505 | +##----------------------------------------## |
506 | 506 | _ShowAbout_() |
507 | 507 | { |
508 | 508 | clear |
509 | 509 | _ShowLogo_ |
510 | 510 | cat <<EOF |
511 | 511 | About |
512 | | - $SCRIPT_NAME is a tool for automating firmware updates on AsusWRT Merlin, |
513 | | - ensuring your router stays up-to-date with the latest features and security |
514 | | - patches. It simplifies the update process by automatically checking for, |
515 | | - downloading, and applying new firmware versions. |
516 | | - Developed by ExtremeFiretop and Martinski W. |
| 512 | + $SCRIPT_NAME is a tool for automating firmware updates on AsusWRT-Merlin, |
| 513 | + ensuring your router stays up-to-date with the latest features and |
| 514 | + security patches. It greatly simplifies the firmware update process |
| 515 | + by automatically checking for, downloading, and applying the latest |
| 516 | + firmware version update that is currently available. |
| 517 | + [Developed by ExtremeFiretop and Martinski W.] |
| 518 | +
|
517 | 519 | License |
518 | 520 | $SCRIPT_NAME is free to use under the GNU General Public License |
519 | 521 | version 3 (GPL-3.0) https://opensource.org/licenses/GPL-3.0 |
| 522 | +
|
520 | 523 | Help & Support |
521 | 524 | https://www.snbforums.com/threads/merlinau-the-ultimate-firmware-auto-updater-addon.88577/ |
| 525 | +
|
| 526 | +Wiki page: |
| 527 | + https://github.com/ExtremeFiretop/MerlinAutoUpdate-Router/wiki |
| 528 | +
|
522 | 529 | Source code |
523 | 530 | https://github.com/ExtremeFiretop/MerlinAutoUpdate-Router |
524 | 531 | EOF |
525 | 532 | echo |
526 | 533 | _DoExit_ 0 |
527 | 534 | } |
528 | 535 |
|
529 | | -##------------------------------------------## |
530 | | -## Modified by ExtremeFiretop [2024-Nov-18] ## |
531 | | -##------------------------------------------## |
| 536 | +##----------------------------------------## |
| 537 | +## Modified by Martinski W. [2025-Feb-22] ## |
| 538 | +##----------------------------------------## |
532 | 539 | _ShowHelp_() |
533 | 540 | { |
534 | 541 | clear |
535 | 542 | _ShowLogo_ |
536 | 543 | cat <<EOF |
537 | 544 | Available commands: |
538 | | - ${SCRIPT_NAME}.sh about explains functionality |
539 | | - ${SCRIPT_NAME}.sh help display available commands |
540 | | - ${SCRIPT_NAME}.sh checkupdates check for available MerlinAU script updates |
541 | | - ${SCRIPT_NAME}.sh forceupdate updates to latest version (force update) |
542 | | - ${SCRIPT_NAME}.sh run_now run update process on router |
543 | | - ${SCRIPT_NAME}.sh processNodes run update check on nodes |
544 | | - ${SCRIPT_NAME}.sh develop switch to development branch |
545 | | - ${SCRIPT_NAME}.sh stable switch to stable branch |
546 | | - ${SCRIPT_NAME}.sh startup runs startup initialization & mounts WebUI page |
547 | | - ${SCRIPT_NAME}.sh install installs add-on files |
548 | | - ${SCRIPT_NAME}.sh uninstall uninstalls add-on files |
| 545 | + ${SCRIPT_NAME}.sh about describe add-on functionality |
| 546 | + ${SCRIPT_NAME}.sh help show available commands & Wiki URL |
| 547 | + ${SCRIPT_NAME}.sh checkupdates check for available MerlinAU updates |
| 548 | + ${SCRIPT_NAME}.sh forceupdate update to latest MerlinAU version |
| 549 | + ${SCRIPT_NAME}.sh run_now run F/W update process |
| 550 | + ${SCRIPT_NAME}.sh processNodes run update check on nodes |
| 551 | + ${SCRIPT_NAME}.sh develop switch to development branch |
| 552 | + ${SCRIPT_NAME}.sh stable switch to stable master branch |
| 553 | + ${SCRIPT_NAME}.sh startup run startup initialization actions |
| 554 | + ${SCRIPT_NAME}.sh install install MerlinAU files |
| 555 | + ${SCRIPT_NAME}.sh uninstall uninstall MerlinAU files |
| 556 | +
|
| 557 | +Wiki page: |
| 558 | + https://github.com/ExtremeFiretop/MerlinAutoUpdate-Router/wiki |
549 | 559 | EOF |
550 | 560 | echo |
551 | 561 | _DoExit_ 0 |
@@ -7334,7 +7344,7 @@ _Toggle_FW_UpdateCheckSetting_() |
7334 | 7344 | } |
7335 | 7345 |
|
7336 | 7346 | ##----------------------------------------## |
7337 | | -## Modified by Martinski W. [2024-Oct-04] ## |
| 7347 | +## Modified by Martinski W. [2025-Feb-22] ## |
7338 | 7348 | ##----------------------------------------## |
7339 | 7349 | _RemoveCronJobsFromAddOns_() |
7340 | 7350 | { |
@@ -7375,7 +7385,10 @@ _RemoveCronJobsFromAddOns_() |
7375 | 7385 | Say "Cron jobs [$cronJobCount] from 3rd-party add-ons were found." |
7376 | 7386 | Say "---------------------------------------------------------------" |
7377 | 7387 |
|
7378 | | - sleep 5 |
| 7388 | + "$isInteractive" && \ |
| 7389 | + printf "\nPlease wait to allow already started cron jobs to complete execution..." |
| 7390 | + sleep 15 |
| 7391 | + "$isInteractive" && printf "\nDone.\n" |
7379 | 7392 | return 0 |
7380 | 7393 | } |
7381 | 7394 |
|
@@ -8459,6 +8472,7 @@ Please manually update to version ${GRNct}${MinSupportedFirmwareVers}${NOct} or |
8459 | 8472 | echo |
8460 | 8473 |
|
8461 | 8474 | # *WARNING*: NO MORE logging at this point & beyond # |
| 8475 | + sync ; sleep 2 ; echo 3 > /proc/sys/vm/drop_caches ; sleep 3 |
8462 | 8476 | /sbin/ejusb -1 0 -u 1 2>/dev/null |
8463 | 8477 |
|
8464 | 8478 | #----------------------------------------------------------------------------------# |
|
0 commit comments