10-21-2021, 03:30 AM
(10-21-2021, 02:40 AM)kqlnut Wrote: Glad it works! What I'm using, on Manjaro Phosh (where restarting eg25-manager works), is a systemd timer to check the modem every minute (as long as the phone is awake) and bring it back up when lost automatically.
Thanks again for sharing
For now I think I have to be content with this workflow:
1) notice I am offline
2) open terminal
3) ./remo
(remo is an executable file containing the script I posted above).
Reason:
Sometimes I have to run my script 2 times.
I wonder if systemd would even start a self-made script using your approach; if so + if I find out how to improve the script I would try your approach + my script