Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/ubuntu.cpython-36.opt-1.pyc

3

�f��@s6ddlmZmZmZddlmZGdd�dee�ZdS)�)�Plugin�UbuntuPlugin�SoSPredicate)�
is_executablec@s eZdZdZdZdZdd�ZdS)�UbuntuzUbuntu specific informationZubuntu�systemcCs�|jddg�|jd�r�td�r&d}ntd�r4d}nd}t|d	gd
�}|j||dd�|jd
||dd�|jd�s�|jddddddg�n|jd�|jd�dS)Nz1ubuntu-security-status --thirdparty --unavailablezhwe-support-status --verbosezubuntu-advantage-toolsZuaz	ua statusZproz
pro statuszubuntu-advantage statusZtls)ZkmodsT)ZpredZchangesz%s --format jsonZall_logsz/var/log/ubuntu-advantage.logz/var/log/ubuntu-advantage.log.1z /var/log/ubuntu-advantage.log.2*z#/var/log/ubuntu-advantage-timer.logz%/var/log/ubuntu-advantage-timer.log.1z&/var/log/ubuntu-advantage-timer.log.2*z/var/log/ubuntu-advantage.log*z$/var/log/ubuntu-advantage-timer.log*)Zadd_cmd_outputZis_installedrrZ
get_optionZ
add_copy_spec)�selfZua_tools_statusZua_pred�r	�/usr/lib/python3.6/ubuntu.py�setups0






zUbuntu.setupN)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrr	r	r	r
r
srN)Zsos.report.pluginsrrrZ
sos.utilitiesrrr	r	r	r
�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists