superczar
Keymaster
I use a EV-DO dial up connection on my unattended ubuntu home server which is automatically started at reboot/resume after power outage via a startup script
sometimes, the EV-DO connection slows down, which can usually be fixed by a reconnect
Now normally, I would just do a ctrl C to elegantly stop the wvdial process terminal window
However, I am not sure how to do the same on a startup script process
(other than the brute method of ps -A | grep wvdial to find the pid for wvdial and then kill it)
A stop wvdial returns an unknown job error
any pointers?
Code:
#!/bin/bash
wvdial
Now normally, I would just do a ctrl C to elegantly stop the wvdial process terminal window
However, I am not sure how to do the same on a startup script process
(other than the brute method of ps -A | grep wvdial to find the pid for wvdial and then kill it)
A stop wvdial returns an unknown job error
any pointers?