Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/monara/public_html/test.athavaneng.com/themes.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 226
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 228
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 229
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 230
Warning: Cannot modify header information - headers already sent by (output started at /home/monara/public_html/test.athavaneng.com/themes.php:1) in /home/monara/public_html/test.athavaneng.com/themes.php on line 231
\c @ s d d l Z d d l Z d d l m Z d d l Td d l Z d d l Td d l m
Z
d d l j Z e j
j Z d e j f d YZ d S( iNi ( t base( t *( t commandst
ModulesPluginc B sb e Z d Z d Z d Z d Z d Z d Z d Z d Z e
d Z d Z RS(
s6
Plugin for applying custom kernel modules options.
c O s2 t t | j | | t | _ t | _ d S( N( t superR t __init__t Truet _has_dynamic_optionsR t _cmd( t selft argst kwargs( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyR s c C s" t | _ t | _ | j | _ d S( N( t Falset _has_dynamic_tuningR t _has_static_tuningt optionst _modules( R t instance( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyt _instance_init s c C s d S( N( ( R R ( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyt _instance_cleanup s c C s x | D] } | j j d d | g \ } } | d k rK t j d d S| d k rw t j d | | j f n | j j d | g \ } } | d k r t j d | | j f q q Wd S( Nt modprobes -ri sN 'modprobe' command not found, cannot reload kernel modules, reboot is requireds$ cannot remove kernel module '%s': %ss: cannot insert/reinsert module '%s', reboot is required: %s( R t executet logt warnt debugt strip( R t modulest modulet retcodet out( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyt _reload_modules s
!
c C s | j d } d } t } g } xOt | j j D]8\ } } | j j | } | j j | } | s | j j d | g \ } }
| d k r t } t
j d q | d k r t
j d | q n | s | d k r8 t
| d k r-| d d !d k r-t j d d | } | j | n t
| d k r\| d
| d | d 7} qpt
j d
| q8 q8 W| j j t j | t
| } | d k r| j | t
| j | k rt
j t j qn d S( Nt i t modinfos8 'modinfo' command not found, not checking kernel moduless) kernel module '%s' not found, skipping iti i s +rs ^\s*\+r\s*,?\s*s options t s
sK module '%s' doesn't have any option specified, not writing it to modprobe.d( t _clear_modprobe_fileR t listR t itemst
_variablest expandR R R R R t errort lent ret subt appendR t
write_to_filet constst MODULES_FILER t infot STR_HINT_REBOOT( R R t sR t
skip_checkt reload_listt optiont valueR t vR t l( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyt _instance_apply_static* s8
"%
c C s t | j d d S( Nt /R ( t strt replace( R t path( ( s@ /usr/lib/python2.7/site-packages/tuned/plugins/plugin_modules.pyt
_unquote_pathI s c C s t } t } t j d } xht | j j D]Q\ } } | j j | } | j j | } t j d d | } d | }
t j
j |
s t } t
j t j d | q1 t
j t j d | | j | } x | D] } | j d }
t |
d k r"t
j d | | f q | j |
d
|
d | j j |
d | j |
d
d
d d t | t k r t } q q Wq1 W| S( Ns \s+s ^\s*\+r\s*,?\s*R s /sys/module/%ss module '%s' is not loadeds module '%s' is loadedt =i s. unrecognized module option for module '%s': %si i s /parameters/t err_rett no_error( R R) t compileR# R R$ R% R&