Cuong Manh Le
|
47a90ec2a1
|
cmd/cli: re-fetch pin code during deactivation checking
So if the pin code was updated/removed, it will be checked correctly by
ctrld during stop/uninstall commands.
|
2024-11-13 15:02:52 +07:00 |
|
Cuong Manh Le
|
5af3ec4f7b
|
cmd/cli: ensure DNS goroutines terminated before self-uninstall
Otherwise, these goroutines could mess up with what resetDNS function
do, reverting DHCP DNS settings to ctrld listeners.
|
2024-08-16 13:50:11 +07:00 |
|
Cuong Manh Le
|
8b98faa441
|
cmd/cli: do not mask err argument of selfUninstall
The err should be preserved, so if we passed the error around, other
functions could still check for utility error code correctly.
|
2024-08-07 15:54:22 +07:00 |
|
Cuong Manh Le
|
905f2d08c5
|
cmd/cli: fix reset DNS when doing self-uninstall
While at it, also using "ctrld uninstall" on unix platform, ensuring
everything is cleanup properly.
|
2024-08-07 15:51:11 +07:00 |
|