amtm AMTM Addition

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Elmer

Regular Contributor
Would it be possible to add an editable "launcher" to AMTM that would show up in the menu and allow the user to launch their own scripts or apps not integrated into AMTM?
 

Jeffrey Young

Senior Member
Sure it's possible. The code is open source on github. Clone it, add yor code changes or do a pull request with your code, and the author may accept.
 

thelonelycoder

Part of the Furniture
Would it be possible to add an editable "launcher" to AMTM that would show up in the menu and allow the user to launch their own scripts or apps not integrated into AMTM?
Let me think about it.
 

elorimer

Very Senior Member
Not sure I follow why opening a terminal window to do amtm and then some menu to call myscript is easier than opening a terminal window to do ./myscript, and why encouraging folks to edit amtm is that great an idea.

One advantage of amtm is forcing developers to adopt a common install/uninstall/enable/disable structure before it is allowed in.
 

L&LD

Part of the Furniture
For one, you'll be able to see all installed scripts in one place.
 

elorimer

Very Senior Member
For one, you'll be able to see all installed scripts in one place.
Of a particular type and outside of the Wireguard script mostly already in amtm.

I imagine you have a few scripts of your own. I have one that emails me a daily report of pixelserv blockings by device running as a cron on each router. I've got a script that manages openvpn logins. I've got a script that makes further edits to the scribe script so I can easily get it back to where I want it after an update. I don't expect those to be in amtm or heaven forfend, the firmware.


Nothing is stopping folks from studying amtm, or diversion and the other scripts here, and then fooling around with ./myscript. But I can see a whole lot of messages directed to @thelonelycoder to the effect of "why isn't amtm running my script. All it is doing is installing nextcloud on the router to access my raid5 array".
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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