Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
sos
/
plugins
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/sos/plugins/named.pyc
mò {ÃWc @ sK d k Z d k Z d k l Z l Z l Z d e i i f d „ ƒ YZ d S( N( s normpaths joins existst namedc B s) t Z d Z d „ Z d „ Z d „ Z RS( s named related information c C s= | i d i d ƒ p t d ƒ p t d ƒ o t Sn t S( Nt policyt binds /etc/named.confs /etc/sysconfig/named( t selft cInfot pkgByNamet existst Truet False( R ( ( t5 /usr/lib/python2.4/site-packages/sos/plugins/named.pyt checkenabled s 1c C s | i d | ƒ } t | d ƒ S( s3 grab directory path from named{conf,boot} s directory\s+"(.*)"i N( R t doRegexFindAllt configFilet directoryListt normpath( R R R ( ( R t getDnsDir s c C sš d } x€ | D]x } t | ƒ oe | i | ƒ | i | i | ƒ ƒ | i t | i | ƒ d ƒ ƒ | i t | i | ƒ d ƒ ƒ q q W| i d ƒ d S( Ns /etc/named.confs /etc/named.boots chroot/devs chroot/procs /etc/sysconfig/named( s /etc/named.confs /etc/named.boot( t cfgFilest cfgR R t addCopySpecR t addForbiddenPatht join( R R R ( ( R t setup! s ' ( t __name__t __module__t __doc__R R R ( ( ( R R s ( t sos.plugintoolst sost commandst os.pathR R R t plugintoolst PluginBaseR ( R R R R R R ( ( R t ? s