Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::wnettools::Interface::Up (   self  )  [inherited]

Bring the network interface up.

Returns:
True

Definition at line 331 of file wnettools.py.

00331                 :
        """ Bring the network interface up.
        
        Returns:
        True
        
        """
        if not self.iface: return False
        cmd = 'ifconfig ' + self.iface + ' up'
        if self.verbose: print cmd
        misc.Run(cmd)
        return True

    def Down(self):


Generated by  Doxygen 1.6.0   Back to index