What's new

amtm amtm v6.7.1 [2026-Apr-18] - the Asuswrt-Merlin Terminal Menu

thelonelycoder

Part of the Furniture
Welcome, this is amtm 6.7.1, the Asuswrt-Merlin Terminal Menu

amtm is a front end that manages popular scripts for wireless routers running Asuswrt-Merlin firmware.
amtm is hosted on the Diversion website: https://diversion.ch/amtm.html

What's new in amtm
  • Fixes endless loop prompting to update amtmupdate compatible scripts. Thanks to @maghuro for reporting.
  • Adds script version numbers to amtmUpdate.log. Thanks to @scootertramp for the suggestion.
 
@thelonelycoder: Can you please consider performing autoupdate when MD5 hash change is detected, but there is no version change for 3rd-party scripts (e.g., Skynet and RTRMON today)? Currently, updates must be initiated manually.
 
@thelonelycoder: Can you please consider performing autoupdate when MD5 hash change is detected, but there is no version change for 3rd-party scripts (e.g., Skynet and RTRMON today)? Currently, updates must be initiated manually.
MD5 hash changes can have multiple reasons, I am reluctant to allow auto-updates for these in amtm.
  • I used to push updates for both amtm and Diversion with minor changes and NO version change. This happened for various and non-nefarious reasons.
    It got so bad that users complained that my update strategy is flawed - and they were right. So I changed it, see this post. I since follow strictly the most used versioning system, with the major.minor.patch numbering system for both amtm and Diversion.
  • An MD5 hash change can also mean a compromised script file on your router or a hacked server file. This is not unheard of and the hash change might be an indicator for that. Another reason why I no longer push updates without a version change.
  • And then there's the laziness of script writers - that used to include me! - to push an update and not inform users via a post or something. There may be more reasons, I am just to lazy to type more ...
Anyway, you may try to convince me otherwise.
 
@thelonelycoder: Can you please consider performing autoupdate when MD5 hash change is detected, but there is no version change for 3rd-party scripts (e.g., Skynet and RTRMON today)? Currently, updates must be initiated manually.
Skynet had a small update today:
 
MD5 hash changes can have multiple reasons, I am reluctant to allow auto-updates for these in amtm.
  • I used to push updates for both amtm and Diversion with minor changes and NO version change. This happened for various and non-nefarious reasons.
    It got so bad that users complained that my update strategy is flawed - and they were right. So I changed it, see this post. I since follow strictly the most used versioning system, with the major.minor.patch numbering system for both amtm and Diversion.
  • An MD5 hash change can also mean a compromised script file on your router or a hacked server file. This is not unheard of and the hash change might be an indicator for that. Another reason why I no longer push updates without a version change.
  • And then there's the laziness of script writers - that used to include me! - to push an update and not inform users via a post or something. There may be more reasons, I am just to lazy to type more ...
Anyway, you may try to convince me otherwise.
Today's changes for both RTRMON and Skynet were both the third reason — yes, we need to discourage deployment of patches without version number change. Possibly a prompt to override when user knows it's a legit change?
 
Last edited:
I am not going to encourage bad behavior.
What about just ignoring md5 hashes completely? No version change, no update. The older notion of a “hotfix” without a version bump is sloppy by today’s standards (IMO).

Today, Adamm merged a PR I sent. Should users be getting it immediately if Adamm didn’t also bump the version? Probably not. Skynet itself might consider it a hotfix, but for most users in this mature ecosystem, it’s probably not warranted anymore.
 
What about just ignoring md5 hashes completely? No version change, no update. The older notion of a “hotfix” without a version bump is sloppy by today’s standards (IMO).

Today, Adamm merged a PR I sent. Should users be getting it immediately if Adamm didn’t also bump the version? Probably not. Skynet itself might consider it a hotfix, but for most users in this mature ecosystem, it’s probably not warranted anymore.
As explained above, the hash change has its own merits. It tells users something has changed between the installed script and the server version. As I always say to my friends and coworkers: Use your head - by pointing at my head ;)

Even hotfixes have version changes. Name one software product you use that releases an update without a version change.
By showing there is a hash change but not offering the amtmupdate elegance, I make a statement.
 
@thelonelycoder: Can you please consider performing autoupdate when MD5 hash change is detected, but there is no version change for 3rd-party scripts (e.g., Skynet and RTRMON today)? Currently, updates must be initiated manually.
Full disclosure. I don't do this very often, but RTRMON showed an MD5 update today due to the fact that I moved a line of code from one line to another line in order for amtmupdate to function correctly. That's literally it. This was so extremely minor that it didn't warrant going through all the motions, github pushes, pulls, documentation, links etc. for a version change in my opinion.
 
Full disclosure. I don't do this very often, but RTRMON showed an MD5 update today due to the fact that I moved a line of code from one line to another line in order for amtmupdate to function correctly. That's literally it. This was so extremely minor that it warranted going through all the motions, github pushes, pulls, documentation, links etc. for a version change in my opinion.
You yourself pledged to also use the major.minor.patch pattern. Swapping a line to make a function do what it‘s supposed to do is called a patch.
 
And now that all this is out of the way, I hope to settle down with a Martini Fiero on ice on my balcony and enjoy the evening.
 
You yourself pledged to also use the major.minor.patch pattern. Swapping a line to make a function do what it‘s supposed to do is called a patch.
Thanks for keeping me honest. I'll make sure to account for each version change no matter how minute it might be. Enjoy your beverage of choice!
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top