文件操作 - centos_report_event.conf
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/libreport/events.d/centos_report_event.conf
编辑文件内容
EVENT=report_CentOSBugTracker analyzer=xorg reporter-mantisbt EVENT=report_CentOSBugTracker analyzer=Kerneloops reporter-mantisbt EVENT=report_CentOSBugTracker analyzer=vmcore reporter-mantisbt EVENT=report_CentOSBugTracker analyzer=Python component!=anaconda test -f component || abrt-action-save-package-data reporter-mantisbt \ -c /etc/libreport/plugins/mantisbt.conf \ -F /etc/libreport/plugins/mantisbt_format.conf \ -A /etc/libreport/plugins/mantisbt_formatdup.conf EVENT=report_CentOSBugTracker analyzer=Python3 component!=anaconda test -f component || abrt-action-save-package-data reporter-mantisbt \ -c /etc/libreport/plugins/mantisbt.conf \ -F /etc/libreport/plugins/mantisbt_format.conf \ -A /etc/libreport/plugins/mantisbt_formatdup.conf EVENT=report_CentOSBugTracker analyzer=CCpp duphash!= test -f component || abrt-action-save-package-data component="`cat component`" format="mantisbt_format.conf" test -f "/etc/libreport/plugins/mantisbt_format_$component.conf" \ && format="mantisbt_format_$component.conf" formatdup="mantisbt_formatdup.conf" test -f "/etc/libreport/plugins/mantisbt_formatdup_$component.conf" \ && formatdup="mantisbt_formatdup_$component.conf" reporter-mantisbt \ -c /etc/libreport/plugins/mantisbt.conf \ -F "/etc/libreport/plugins/$format" \ -A "/etc/libreport/plugins/$formatdup" EVENT=report_CentOSBugTracker analyzer=libreport reporter-mantisbt \ -c /etc/libreport/plugins/mantisbt.conf \ -F /etc/libreport/plugins/mantisbt_format_analyzer_libreport.conf \ -A /etc/libreport/plugins/mantisbt_formatdup_analyzer_libreport.conf
修改文件时间
将文件时间修改为当前时间的前一年
删除文件