X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=doc%2Fsample-config%2Ftinc-down;h=65b049e2fdf78fca16c9df4bf3335db98f473c89;hp=9f3b499d78f252a8f90a2a021d22d3a11a5a01d0;hb=1dcbdf48eb4a642e4d70a9e67aaca78deacf352d;hpb=b195e8815f0abb2c5527119221886b524d719019 diff --git a/doc/sample-config/tinc-down b/doc/sample-config/tinc-down index 9f3b499d..65b049e2 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 tap0 down +ifconfig $INTERFACE down