0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.144.16.40


Current Path : /snap/core/16928/usr/share/apport/package-hooks/
Upload File :
Current File : //snap/core/16928/usr/share/apport/package-hooks/source_console-setup.py

'''apport package hook for console-setup

Copyright (C) 2009 Canonical Ltd.
Author: Colin Watson <cjwatson@ubuntu.com>
'''

import apport.hookutils

def add_info(report):
    apport.hookutils.attach_file_if_exists(
        report, '/etc/default/keyboard', 'Keyboard')
    apport.hookutils.attach_file_if_exists(
        report, '/etc/default/console-setup', 'ConsoleSetup')