コード例 #1
0
ファイル: NetConf.py プロジェクト: KentVu/blueman
    def remove_settings(self):
        dprint(self)

        if self.dhcp_handler:
            self.dhcp_handler.do_remove()

        try:
            destroy_bridge("pan1")
        except:
            pass
        self.unlock("ifconfig")

        self.del_ipt_rules()

        self.store()
コード例 #2
0
ファイル: NetConf.py プロジェクト: parr0tr1ver/blueman
    def remove_settings(self):
        logging.info(self)

        if self.dhcp_handler:
            self.dhcp_handler.do_remove()

        try:
            destroy_bridge("pan1")
        except BridgeException:
            pass
        self.unlock("netconfig")

        self.del_ipt_rules()

        self.store()
コード例 #3
0
ファイル: NetConf.py プロジェクト: aunghtet008900/blueman-1
    def remove_settings(self):
        dprint(self)

        if self.dhcp_handler:
            self.dhcp_handler.do_remove()

        try:
            destroy_bridge("pan1")
        except:
            pass
        self.unlock("netconfig")

        self.del_ipt_rules()

        self.store()
コード例 #4
0
ファイル: NetConf.py プロジェクト: cschramm/blueman
    def remove_settings(self):
        logging.info(self)

        if self.dhcp_handler:
            self.dhcp_handler.do_remove()

        try:
            destroy_bridge("pan1")
        except BridgeException:
            pass
        self.unlock("netconfig")

        self.del_ipt_rules()

        self.store()