Logo Search packages:      
Sourcecode: wicd version File versions

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

Check that all required tools are available. 

Definition at line 316 of file wnettools.py.

00316                    :
        """ Check that all required tools are available. """
        # THINGS TO CHECK FOR: ethtool, pptp-linux, dhclient, host
        self.CheckDHCP()
        self.CheckWiredTools()
        self.CheckWirelessTools()
        
        ip_path = self._find_client_path("ip")
        if ip_path:
            self.ip_cmd = ip_path
            self.IP_FOUND = True
        else:
            self.ip_cmd = None
            self.IP_FOUND = False

    def Up(self):


Generated by  Doxygen 1.6.0   Back to index