MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.33
Disabled: NONE
Upload Files
File: //lib/python3.12/site-packages/tuned/profiles/__pycache__/unit.cpython-312.pyc
�

�]�i��*�ddlZddlZGd�de�Zy)�Nc��eZdZdZgd�Zd�Zed��Zed��Zejd��Zed��Z
e
jd��Z
ed	��Zejd
��Zed��Zed��Z
ed
��Zejd��Zed��Zejd��Zed��Zejd��Zed��Zejd��Zed��Zejd��Zed��Zejd��Zed��Zejd��Zed��Zejd��Zy)�Unitz
	Unit description.
	)�_name�	_priority�_type�_enabled�_replace�_prepend�_drop�_devices�_devices_udev_regex�_cpuinfo_regex�_uname_regex�_script_pre�_script_post�_optionsc��||_|jdd�|_|jd|j�|_|jdd�dv|_|jdd�dv|_|jdd�dv|_|jd	d�|_|j�.tjd
t|j��|_|jdd�|_|jd
d�|_|jdd�|_
|jdd�|_|jdd�|_|jdd�|_t#j$|�|_y)N�priority�type�enabledT)T�True�true��1�replaceF�prepend�dropz\b\s*[,;]\s*�devices�*�devices_udev_regex�
cpuinfo_regex�uname_regex�
script_pre�script_post)r�poprrrr	r
r�re�split�strrr
rrrr�collections�OrderedDictr)�self�name�configs   �8/usr/lib/python3.12/site-packages/tuned/profiles/unit.py�__init__z
Unit.__init__s3���$�*��:�:�j�$�/�$�.��z�z�&�$�*�*�-�$�*��*�*�Y��-�1O�O�$�-��*�*�Y��.�2P�P�$�-��*�*�Y��.�2P�P�$�-��z�z�&�$�'�$�*�	�Z�Z������#�d�j�j�/�:�4�:��*�*�Y��,�$�-�#�Z�Z�(<�d�C�$���
�
�?�D�9�$���j�j���5�$���Z�Z��d�3�$���j�j���5�$���)�)�&�1�$�-�c��|jS�N)r�r+s r.r,z	Unit.name���	
���r0c��|jSr2�rr3s r.rz
Unit.priority"s��	
���r0c��||_yr2r6�r+�values  r.rz
Unit.priority&s	���$�.r0c��|jSr2�rr3s r.rz	Unit.type*r4r0c��||_yr2r;r8s  r.rz	Unit.type.�	���$�*r0c��|jSr2�rr3s r.rzUnit.enabled2���	
���r0c��||_yr2r?r8s  r.rzUnit.enabled6�	���$�-r0c��|jSr2)r	r3s r.rzUnit.replace:r@r0c��|jSr2)r
r3s r.rzUnit.prepend>r@r0c��|jSr2�rr3s r.rz	Unit.dropBr4r0c��||_yr2rFr8s  r.rz	Unit.dropFr=r0c��|jSr2�rr3s r.rzUnit.devicesJr@r0c��||_yr2rIr8s  r.rzUnit.devicesNrBr0c��|jSr2�r
r3s r.r zUnit.devices_udev_regexRs��	
�	!�	!�!r0c��||_yr2rLr8s  r.r zUnit.devices_udev_regexVs
��"�$�r0c��|jSr2�rr3s r.r!zUnit.cpuinfo_regexZs��	
�	�	�r0c��||_yr2rOr8s  r.r!zUnit.cpuinfo_regex^s
���$�r0c��|jSr2�rr3s r.r"zUnit.uname_regexb���	
�	�	�r0c��||_yr2rRr8s  r.r"zUnit.uname_regexf�
���$�r0c��|jSr2�rr3s r.r#zUnit.script_prejs��	
�	�	�r0c��||_yr2rWr8s  r.r#zUnit.script_prens
���$�r0c��|jSr2�rr3s r.r$zUnit.script_postrrSr0c��||_yr2rZr8s  r.r$zUnit.script_postvrUr0c��|jSr2�rr3s r.�optionszUnit.optionszr@r0c��||_yr2r]r8s  r.r^zUnit.options~rBr0N)�__name__�
__module__�__qualname__�__doc__�	__slots__r/�propertyr,r�setterrrrrrrr r!r"r#r$r^�r0r.rrs>���P��2�$���������/�/���������+�+��������
�.�.�����������������+�+��������
�.�.�����"��"����#��#�������������������������
��������������������
�.�.���r0r)r)r&�objectrrgr0r.�<module>ris���	�|�6�|r0