diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-06-15 14:34:50 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-06-15 14:34:50 +0200 |
commit | 591b445ba78c96cd91375fe79b2ac8a767131fb9 (patch) | |
tree | fb347fe4fa406e87f81cbe53188f73634d3508fc /src/daemon | |
parent | b4e0ff6fadd6bfcb2915a544747d0b09d53dbada (diff) | |
download | abrt-591b445ba78c96cd91375fe79b2ac8a767131fb9.tar.gz abrt-591b445ba78c96cd91375fe79b2ac8a767131fb9.tar.xz abrt-591b445ba78c96cd91375fe79b2ac8a767131fb9.zip |
move events and events config to libreport/events{.d} and libreport/plugins
- requires libreport commit: 219c304236910086fae00e3a65fef626b46f1f1e
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/Makefile.am | 1 | ||||
-rw-r--r-- | src/daemon/smart_event.conf | 38 |
2 files changed, 0 insertions, 39 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index f2f90d69..426e6dcb 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -1,7 +1,6 @@ eventsconfdir = $(EVENTS_CONF_DIR) dist_eventsconf_DATA = \ - smart_event.conf \ abrt_event.conf bin_SCRIPTS = \ diff --git a/src/daemon/smart_event.conf b/src/daemon/smart_event.conf deleted file mode 100644 index 9c23862b..00000000 --- a/src/daemon/smart_event.conf +++ /dev/null @@ -1,38 +0,0 @@ -# Access to /dev/sda usually requires root. -# skdump is usually in /usr/sbin. -# Therefore we run it as post-create event, thus: under root. -# -# The code is identical for all three packages. -# -# To be moved to the packages, so that it is (de)installed -# together with these packages. - -# FIXME: not working yet, because program selection code -# looks at dump dir BEFORE running programs, -# thus, component is not created yet -# (it is created by 1st program in main .conf file) -# when program selection code looks at this file. - -EVENT=post-create component=gnome-disk-utility - which skdump >/dev/null 2>&1 || exit 0 - for f in /dev/[sh]d[a-z]; do - test -e "$f" || continue - skdump "$f" - echo - done >smart_data - -EVENT=post-create component=libatasmart - which skdump >/dev/null 2>&1 || exit 0 - for f in /dev/[sh]d[a-z]; do - test -e "$f" || continue - skdump "$f" - echo - done >smart_data - -EVENT=post-create component=udisks - which skdump >/dev/null 2>&1 || exit 0 - for f in /dev/[sh]d[a-z]; do - test -e "$f" || continue - skdump "$f" - echo - done >smart_data |