jhubig / FritzBoxShell

Some shell scripts for controlling and checking the Fritz!Box/Fritz!Repeater
MIT License
139 stars 22 forks source link

Add argument parsing #11

Closed YoSiJo closed 4 years ago

YoSiJo commented 4 years ago

Hello, i want use this script to monitor the FritzBox over Zabbix. But the Externel Script logic can't handle environment variables. Befor i write a wrapper-script that handle the arguments and set this to environment variables, i think it's better when the source script become a new feature. I added the parsing function and added a warning to the README.md because the password could be leaked through the process list. For improvement suggestions and ideas I am open, but I would be very happy if the script is extended by arguments.

jhubig commented 4 years ago

Sorry for my late response. This is a great idea. Thank you.