Comment 38 for bug 121487

Victor (victorlaskurain) wrote :

Just after sending the comment I realized a lot of things are missing in that script. It does dock, but then disconnect doesn't work. I think this script fixes it:

#!/bin/bash
trap "killall -s2 wvdial.bin" 2
(wvdial.bin $@ 2>&1 | sed -u "s/[^:]*:/-->/" 1>&2)&
wait