X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=doc%2Ftinc.texi;h=b207a93fbaeb021b3ef73093d578f2a16c4bdaed;hb=d8ea66ff1fc68ca9ea672727b0274663df6f4866;hp=3495fce601ee68c0d6fb9a515db8874e6b3fe572;hpb=8af6d64fd9dfdd684a56534249e12d201628055c;p=tinc diff --git a/doc/tinc.texi b/doc/tinc.texi index 3495fce6..b207a93f 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -2153,13 +2153,19 @@ Be sure to include the following information in your bugreport: @node Controlling tinc @chapter Controlling tinc -You can control and inspect a running tincd through the tinc +You can start, stop, control and inspect a running tincd through the tinc command. A quick example: @example tinc -n @var{netname} reload @end example +If tinc is started without a command, it will act as a shell; it will display a +prompt, and commands can be entered on the prompt. If tinc is compiled with +libreadline, history and command completion are available on the prompt. One +can also pipe a script containing commands through tinc. In that case, lines +starting with a # symbol will be ignored. + @menu * tinc runtime options:: * tinc environment variables:: @@ -2359,7 +2365,7 @@ tinc -n vpn pcap | tcpdump -r - tinc -n vpn top @end example -Example of configuring tinc using the tinc command: +Examples of changing the configuration using tinc: @example tinc -n vpn init foo