관리-도구
편집 파일: clsetuplib.cpython-311.pyc
� �EBgd � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlm Z m Z G d� d� � Z e e �� � Zd� Z d� Zd d �Zd� Zd� ZdS )� N)�remount_proc)�SYSCTL_CL_CONF_FILE� SysCtlConfc �0 � e Zd Zg d�ZdZdZd� Zd� Zd� ZdS )� KernelVersion)�1r �95� Tc �R � t j ddgt j t j �� � 5 }|� � � \ }}|j dk r#t d� � t j d� � |� d� � dk r{|� d� � d � d � � d d d� � � � � d � � | _ t | j � � nd| _ d d d � � d S # 1 swxY w Y d S )N�unamez-r)�stdout�stderrr z?error: subprocess call error. Cant't get current kernel version� �lve����el�.F) � subprocess�Popen�PIPE�communicate� returncode�print�sys�exit�find�split�strip�_system_kernel� _cl_kernel)�self�proc�out�_s �py/clsetuplib.py�__init__zKernelVersion.__init__&