HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/python3.9/site-packages/tuned/profiles/__pycache__/unit.cpython-39.pyc
a

,�gw
�@s$ddlZddlZGdd�de�ZdS)�Nc@sVeZdZdZgd�Zdd�Zedd��Zedd��Zej	d	d��Zed
d��Z
e
j	dd��Z
ed
d��Zej	dd��Zedd��Zedd��Z
e
j	dd��Z
edd��Zej	dd��Zedd��Zej	dd��Zedd��Zej	dd��Zedd��Zej	d d��Zed!d"��Zej	d#d"��Zed$d%��Zej	d&d%��Zed'd(��Zej	d)d(��Zd*S)+�Unitz
	Unit description.
	)
�_name�	_priority�_type�_enabled�_replace�_drop�_devices�_devices_udev_regex�_cpuinfo_regex�_uname_regex�_script_pre�_script_post�_optionscCs�||_|�dd�|_|�d|j�|_|�dd�dv|_|�dd�dv|_|�dd�|_|jdurtt�d	t	|j��|_|�d
d�|_
|�dd�|_|�d
d�|_|�dd�|_
|�dd�|_|�dd�|_t�|�|_dS)N�priority�type�enabledT)T�True�true��1�replaceF�dropz\b\s*[,;]\s*�devices�*�devices_udev_regex�
cpuinfo_regex�uname_regex�
script_pre�script_post)r�poprrrrr�re�split�strr	r
rrr
r�collections�OrderedDictr)�self�nameZconfig�r(�7/usr/lib/python3.9/site-packages/tuned/profiles/unit.py�__init__s
z
Unit.__init__cCs|jS�N)r�r&r(r(r)r'sz	Unit.namecCs|jSr+�rr,r(r(r)r!sz
Unit.prioritycCs
||_dSr+r-�r&�valuer(r(r)r%scCs|jSr+�rr,r(r(r)r)sz	Unit.typecCs
||_dSr+r0r.r(r(r)r-scCs|jSr+�rr,r(r(r)r1szUnit.enabledcCs
||_dSr+r1r.r(r(r)r5scCs|jSr+)rr,r(r(r)r9szUnit.replacecCs|jSr+�rr,r(r(r)r=sz	Unit.dropcCs
||_dSr+r2r.r(r(r)rAscCs|jSr+�r	r,r(r(r)rEszUnit.devicescCs
||_dSr+r3r.r(r(r)rIscCs|jSr+�r
r,r(r(r)rMszUnit.devices_udev_regexcCs
||_dSr+r4r.r(r(r)rQscCs|jSr+�rr,r(r(r)rUszUnit.cpuinfo_regexcCs
||_dSr+r5r.r(r(r)rYscCs|jSr+�rr,r(r(r)r]szUnit.uname_regexcCs
||_dSr+r6r.r(r(r)rascCs|jSr+�r
r,r(r(r)reszUnit.script_precCs
||_dSr+r7r.r(r(r)riscCs|jSr+�rr,r(r(r)rmszUnit.script_postcCs
||_dSr+r8r.r(r(r)rqscCs|jSr+�rr,r(r(r)�optionsuszUnit.optionscCs
||_dSr+r9r.r(r(r)r:ysN)�__name__�
__module__�__qualname__�__doc__�	__slots__r*�propertyr'r�setterrrrrrrrrrrr:r(r(r(r)rsf






















r)r$r!�objectrr(r(r(r)�<module>s