Improve starting/stopping tincd using tincctl.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 6 Oct 2012 15:45:03 +0000 (17:45 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 6 Oct 2012 15:45:03 +0000 (17:45 +0200)
commitef9358c0d616c5ff3391c8ec3da5d357286a4457
tree9e89fda25d6cd89699ed1fd49c7900df16810904
parent47f33e07ff90b557cfa96999e921d35ea537ca80
Improve starting/stopping tincd using tincctl.

When starting tincd, tincctl now strips non-options from the command line, and
sets argv[0] to the name of the tincd command instead of copying its own
command name.

When stopping a running tincd, tincctl now waits for it to terminate.
src/tincctl.c