-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add remote reconnect command #53
base: master
Are you sure you want to change the base?
Conversation
Add: pistar-config-backup: same as config-backup php: back up configurations via command line (in case the dashboard means is not accessible; ref: https://forum.pistar.uk/viewtopic.php?t=4366&sid=a206a36ec2ee881d951569c6ed02c017 |
Thoughts? Comments? New feature - does not change any current functionality. |
Please seperate the config back from the wifi re-connect - they are two different things. |
I suggest adding |
Ouch! How the heck did I miss that?!?! Thanks! |
The same way I always seem to miss things, too. 🤦🏽♂️ 😂 Happy to help 👍🏽
|
I coded the reconnect command process the same way the host file update process is coded - using an external script to implement the "details". "Hooking" in code like this gives a certain flexibility to making changes going forward, given that additional steps (error checks/retry logic) might need to be added - all without messing with the invoking process. |
Add ability to initiate wifi reconnect sequence via a remote command
new file: batch file (pistar-reconnect) that duplicates the wifi reconnect sequence given in the wifi.php; invoked by pistar-remote.
mod to pistar-remote: add DMR command code to initiate the wifi reconnect batch file
mods: misc: return system to RO mode following hostfile updates; handle error when DMR log file is empty.
Note: User will need to add appropriate entry to /etc/pistar-remote and make codeplug changes to utilize this feature:
[dmr]
TG commands
:
hostfiles=8999995
reconnect=8999994 <-----