403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/system-config-network/netconfpkg/tui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyo
Ñò
:®Jc
@s—dZddkZddklZddklZddklZddkl	Z	l
Z
lZlZddk
lZddkZdd
d	„ƒYZdS(sTUI Ethernet Interface ModuleiÿÿÿÿN(t
getDeviceList(tgetProfileList(tgetHardwareList(tETHERNETtISDNtMODEMtQETH(tgetDeviceFactorytNCPluginDevicesTuicBsDeZdZd„Zd„Zd„Zd„Zd„Zd„ZRS(sTUI Device ListcCs||_d|_dS(s
        The constructor
        @screen A snack screen instance
        @devicelist A NCDeviceList
        @modem The modem device. If none given, the first
               modem in devicelist will be used.
               If none are there, one will be added.
        N(tplisttNonetmscreen(tselfR	((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyt__init__s		cCsBtidddƒ|_d}|iid}|djo
d}nxÑtƒD]Æ}t|dƒp|iƒoqOn|d7}xtƒD]U}|i	|i
jo<|io2|iid|i
|i
|if| |ƒPqqW|iid|i
|i
|if| |ƒqOW|pd	S|iitdƒd	ƒd	S(
s+
        Build the list of devices
        it
returnExitiiit	getDialogs%s (%s) - %ss<New Device>N(tsnacktListboxtliRtwidthRthasattrRRtNametDevicetDescriptiontappendtDeviceIdtTypeR
t_(Rtltletdevthw((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pytsetStates,




	c
CsÕtidtdƒƒ}ti|tdƒdftdƒdffƒ}tidddd	d
ƒ}|itdƒtƒ|itdƒtƒ|itd
ƒtƒt	i
ƒd}|djp
|djo|itdƒtƒnti|tdƒd
dƒ}|i
|ddƒ|i
|dd
ƒ|i
|ddƒ|iƒ}|iƒ|i|ƒdjoe|iƒ}tƒ}	d}
|	i|ƒ}tƒ}|pdS|ƒ}
|
o|i|
ƒ|
SndS(sT
        Displays the main screen
        @screen The snack screen instance
        is%Which device type do you want to add?tAddtaddtCanceltcanceliRRitEthernettModemRits390ts390xRsNetwork ConfigurationiiiiÿÿÿÿiþÿÿÿN(RtTextboxReflowedRt	ButtonBarRRRRRtostunameRtGridFormR"trunt	popWindowt
buttonPressedtcurrentRR
tgetDeviceClassR(
RRtttbbRtmachinetgtresttodotdfRtdevclasstdevlist((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyt	newDevice<s80
			
	cCsdS(sQ
        Extracts info from the screen, and puts it into a device object
        N((R((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pytprocessInfo`scCsti|tdƒddƒ}ti|tdƒdftdƒdffƒ}|i|iddƒ|i|dd	d
dƒ|iƒ}|iƒ|i|ƒdjo
d}nJ|i|ƒdjo
d}n*|ii
ƒ}|p|i|ƒ}n|S(NsSelect A DeviceiitSavetsaveR#R$iitgrowxiÿÿÿÿ(RR-RR*R"RR.R/R0R
R1R<(RRR6R4R7tret((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pytselectDevicefs0


cCs||_tƒ}|iƒxëtoã|iƒo|iƒn|i|ƒ}|djotS|djoqn|djotS|iƒ}|i	|ƒoM|i
ƒ|i
ƒ|ii|i
|iiƒidtƒ|ii
ƒq|iƒ|iƒqWdS(sB
        Show and run the screen, save files if necesarry
        iÿÿÿÿiþÿÿÿtstateN(RRR tTruetmodifiedRBR
tFalseRtrunIttcommitR	tactivateDeviceRtgetActiveProfiletProfileNametrollback(RRR;Rtdialog((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyRGxs0		







(	t__name__t
__module__t__doc__R
R R<R=RBRG(((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyRs	
		$		((RPRtnetconfpkg.NCDeviceListRtnetconfpkg.NCProfileListRtnetconfpkg.NCHardwareListRtnetconfpkg.NC_functionsRRRRtnetconfpkg.NCDeviceFactoryRR+R(((sB/usr/share/system-config-network/netconfpkg/tui/NCPluginDevices.pyt<module>s"

Youez - 2016 - github.com/yon3zu
LinuXploit