[ Avaa Bypassed ]




Upload:

Command:

www-data@160.79.109.185: ~ $
description "Notification regarding a crash report"
author "Brian Murray <brian@ubuntu.com>"

start on (
    file FILE=/var/crash/*.crash EVENT=create or
    file FILE=/var/crash/*.crash EVENT=modify
)

env MATCH=NULL
instance $MATCH

script
DATE=$(date)
echo "$DATE crash report $MATCH detected"
if [ -e /var/lib/apport/autoreport ]; then
    echo "$DATE autoreporting enabled exiting"
    exit 0
fi
if [ -O $MATCH ]; then
    /usr/share/apport/apport-gtk
else
    SYSTEMCRASH=0
    /usr/share/apport/apport-checkreports --system || SYSTEMCRASH=$?
    if [ $SYSTEMCRASH -eq 0 ]; then
        # not in admin group return
        ADMIN=0
        groups | grep -qE "sudo|admin" || ADMIN=$?
        if [ $ADMIN -ne 0 ]; then
            exit 1
        fi
        # be nice and always ask first before firing up pkexec
        if [ -x /lib/udev/watershed ]; then
            /lib/udev/watershed sh -c '/usr/lib/update-notifier/system-crash-notification'
        else
            /usr/lib/update-notifier/system-crash-notification
        fi
    fi
fi
end script

Filemanager

Name Type Size Permission Actions
session-migration.conf File 159 B 0644
unicast-local-avahi.conf File 313 B 0644
update-notifier-cds.conf File 834 B 0644
update-notifier-crash.conf File 1.03 KB 0644
update-notifier-hp-firmware.conf File 728 B 0644
update-notifier-release.conf File 509 B 0644