X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=doc%2Fsample-config%2Ftinc-down;h=65b049e2fdf78fca16c9df4bf3335db98f473c89;hp=127499197ef70cf2401e6ea65ee81ad84700e7f3;hb=e97943b7cc9c851ae36f5a41e2b6102faa74193f;hpb=8d307c2fbf2c20eb53909f74c81e03db838fb55e diff --git a/doc/sample-config/tinc-down b/doc/sample-config/tinc-down index 1274991..65b049e 100644 --- a/doc/sample-config/tinc-down +++ b/doc/sample-config/tinc-down @@ -1,7 +1,4 @@ #!/bin/sh # This file closes down the tap device. -# Note that if you use the universal tun/tap driver, you don't -# need to do anything; once tinc quits the tap device is already -# removed by the kernel. -ifconfig tap1 down +ifconfig $INTERFACE down