관리-도구
편집 파일: modules.pyc
� �c�`c @ sY d Z d g Z d d l m Z d d l m Z d d l m Z d e f d � � YZ d S( s modules backendt modulesi����( t runProg( t log( t COMMANDSc B sP e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C s t d | _ t d | _ d S( Nt modprobet rmmod( R t _load_commandt _unload_command( t self( ( s9 /usr/lib/python2.7/site-packages/firewall/core/modules.pyt __init__ s c C s d | j S( Ns %s( t __class__( R ( ( s9 /usr/lib/python2.7/site-packages/firewall/core/modules.pyt __repr__$ s c C s� g } i } t d d � �� } x� | D]y } | s5 Pn | j � } | j � } | j | d � | d d k r� | d j d � d | | d <q% g | | d <q% WWd QX| | f S( s6 get all loaded kernel modules and their dependencies s /proc/modulest ri i t -t ,i����N( t opent stript splitt append( R t modst depst ft linet splits( ( s9 /usr/lib/python2.7/site-packages/firewall/core/modules.pyt loaded_modules'