From: Etienne Dechamps Date: Sun, 13 Jul 2014 14:54:34 +0000 (+0100) Subject: Add a non-interactive mode to tinc commands. X-Git-Tag: release-1.1pre11~58 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=cc9203ee75c49360dd29710ac12bb67fe503f97b;hp=cc9203ee75c49360dd29710ac12bb67fe503f97b;p=tinc Add a non-interactive mode to tinc commands. Some tinc commands, such as "tinc generate-keys", use the terminal to ask the user for information. This can be bypassed by making sure there is no terminal, which is trivial on *nix but might require jumping through some hoops on Windows depending on how the command is invoked. This commit adds a --batch option that ensures tinc will never ask the user for input, even if it is attached to a terminal. ---