I would like to know how to create a script in bash for OpenWrt, but having it installed like an application and with the possibility to include arguments/options when calling the app. As an example:
cowsay HelloWorld
Would return
____________
<> HelloWorld <>
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
I need to call the script from a SSH, and execute it given an id and a state for that id.