diff options
| author | Daniel F. Dickinson <cshored@thecshore.com> | 2019-08-27 01:53:51 -0400 |
|---|---|---|
| committer | Daniel F. Dickinson <cshored@thecshore.com> | 2019-08-27 06:54:56 -0400 |
| commit | 3c15d410a9221d212193d386bcb2dbd9b723c62d (patch) | |
| tree | 88e435612483e63094ea7bd63e1d907a14d13792 /lang/python/python-enum34 | |
| parent | 9c43805ae5df1684f69246cd045ebebac6fe8dc8 (diff) | |
msmtp-scripts: Make conn_test default nc
On OpenWrt nc (netcat) connectivity test makes more sense than
ping because a) for non-root users ping is not permitted, and
b) nc is a default binary included with OpenWrt.
We do, however, have to change the upstream default from using
`nc -vz` to `printf "<http head request>"|nc` (with openwrt
nc if text is sent then nc closes after a response and fails
if no connection is made; the response is already thrown away
(to /dev/null) by the existing code).
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
Diffstat (limited to 'lang/python/python-enum34')
0 files changed, 0 insertions, 0 deletions
