[Bridge] Simple list of tun devices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm using acustom script to bring up and take down my bridge. For that, 
I need to know the bridge devices that are currently active for use in a 
bash for-loop.
I reckon that I could grep and sed the output of ifconfig or brctl show, 
but that seems very kludgy to me. The tun* devices do not appear in /dev 
and neither did a grep in all of /proc return any useful result.

So, is there a simple way to tell which tun devices are up at any moment?

Cheers,
~Mik

-- 
Was passiert, wenn man einem Therapiepatienten ein asymmetrisches 
Mandala zum Ausmalen gibt? Wird er dann erst recht wahnsinnig?

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux