File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/fwupd.cpython-39.pyc
a
\��h� � @ s* d dl mZmZmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin�SoSPredicatec @ s0 e Zd ZdZdZdZdZdZdd� Zdd� Z d S )
�Fwupdzfwupd information�fwupd)�system)r c C s0 | � t| dgd�� | �g d�� | �d� d S )Nr )�services)zfwupdmgr get-approved-firmwarez*fwupdmgr get-devices --no-unreported-checkzfwupdmgr get-historyzfwupdmgr get-remotesz)/usr/libexec/fwupd/fwupdagent get-devicesz)/usr/libexec/fwupd/fwupdagent get-updatesz
/etc/fwupd)Zset_cmd_predicater Zadd_cmd_outputZ
add_copy_spec��self� r �</usr/lib/python3.9/site-packages/sos/report/plugins/fwupd.py�setup s
zFwupd.setupc C s | � ddd� | �ddd� d S )Nz/etc/fwupd/remotes.d/*z(Password)=(.*)z\1=********z/etc/fwupd/redfish.conf)Zdo_path_regex_subZdo_file_subr r r r �postproc# s ��zFwupd.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesr Zpackagesr
r r r r r r s r N)Zsos.report.pluginsr r r r r r r r �<module> s