Server IP : 149.255.58.128 / Your IP : 216.73.216.21
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib/python3.9/site-packages/tuned/profiles/__pycache__//unit.cpython-39.opt-1.pyc
a
�Գfw
� @ s$ d dl Z d dlZG dd� de�ZdS )� Nc @ sV e Zd ZdZg d�Zdd� Zedd� �Zedd� �Zej d d� �Zed
d� �Z
e
j dd� �Z
ed
d� �Zej dd� �Zedd� �Zedd� �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�_optionsc C s� || _ |�dd �| _|�d| j �| _|�dd�dv | _|�dd�dv | _|�dd �| _| jd urtt�d t | j��| _|�d
d�| _
|�dd �| _|�d
d �| _|�dd �| _
|�dd �| _|�dd �| _t�|�| _d S )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 �popr r r r r �re�split�strr r
r r r
r �collections�OrderedDictr )�self�nameZconfig� r( �7/usr/lib/python3.9/site-packages/tuned/profiles/unit.py�__init__ s
z
Unit.__init__c C s | j S �N)r �r&