Commit Graph

21 Commits

Author SHA1 Message Date
sarumpaet
f905ca8716 fix detecting used ports in Docker
Processes blocking ports that run on the host are not visible
within a Docker container. This was misdetected as the port being
available. Print an error and abort instead.
2021-09-23 14:53:59 +02:00
Colin Kuebler
14b930ddca Remove -H option from ss call, not available in older ss. Fixes #622 2020-05-21 23:21:46 -04:00
Colin Kuebler
d031030b74 Check that ufw exists before checking if it is running 2020-02-29 00:30:48 -05:00
Colin Kuebler
5227957197 Attempt to stop firewalls, fix #518 2020-01-29 11:59:33 -05:00
Colin Kuebler
9fc1eae071 Check that AP is supported by grepping under "Supported interface modes" only, fixes #476 2020-01-06 11:45:37 -05:00
Colin Kuebler
795e002ecb Add hidden skip option when checking occupied ports 2020-01-06 11:43:36 -05:00
Marcel Martin
b30aece034 Print a warning if running over SSH
Close #426
2019-12-27 22:02:36 +01:00
Colin Kuebler
d4171a16a9 Add link back to original discussion on hostapd kernel panic 2019-11-19 12:32:16 -05:00
Colin Kuebler
b74a708dad Added check for blacklist file known to cause kernel panic in hostapd, fixes #373 2019-11-17 13:07:55 -05:00
Colin Kuebler
e459fcc3a6 Attempt to stop process nicely before sending SIGKILL 2019-10-31 18:40:36 -04:00
Colin Kuebler
1b02f66e2c Filter out units which are not service or the user instance 2019-10-31 18:27:12 -04:00
Colin Kuebler
73a344f043 Be explicit when stopping a service vs terminating process 2019-10-30 15:28:14 -04:00
Colin Kuebler
9e434467c8 Confirmed that sudo is not needed by ps 2019-10-30 15:25:37 -04:00
Colin Kuebler
9fa4599024 Don't print ps header so no need for grep 2019-10-30 15:22:43 -04:00
Colin Kuebler
322e42514f Missed sudo on ps, might be redundant but couldn't hurt 2019-10-30 15:11:25 -04:00
Colin Kuebler
17525e94f6 Missing newline after user prompt 2019-10-29 19:10:25 -04:00
Colin Kuebler
ccad30f600 Port checks for DHCP and Tuya protocol 2019-10-29 19:01:08 -04:00
Colin Kuebler
ffe9ab7ded Wait for process to end before proceeding 2019-10-29 18:51:05 -04:00
Colin Kuebler
50f4995b0a Moved disclaimer to setup_checks 2019-10-29 18:32:28 -04:00
Colin Kuebler
70c70fea1e Moved config check from setup_ap to setup_checks 2019-10-29 18:28:21 -04:00
Colin Kuebler
b87b272987 Added new script responsible for setup checks
Added port checking implementation
2019-10-29 18:25:17 -04:00