Blame | Last modification | View Log | RSS feed
# 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.EVENT=post-create component=gnome-disk-utilitywhich skdump >/dev/null 2>&1 || exit 0for f in /dev/[sh]d[a-z]; dotest -e "$f" || continueskdump "$f"echodone >smart_dataEVENT=post-create component=libatasmartwhich skdump >/dev/null 2>&1 || exit 0for f in /dev/[sh]d[a-z]; dotest -e "$f" || continueskdump "$f"echodone >smart_dataEVENT=post-create component=udiskswhich skdump >/dev/null 2>&1 || exit 0for f in /dev/[sh]d[a-z]; dotest -e "$f" || continueskdump "$f"echodone >smart_data