Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Access to /dev/sda usually requires root.
2
# skdump is usually in /usr/sbin.
3
# Therefore we run it as post-create event, thus: under root.
4
#
5
# The code is identical for all three packages.
6
#
7
# To be moved to the packages, so that it is (de)installed
8
# together with these packages.
9
 
10
EVENT=post-create component=gnome-disk-utility remote!=1
11
        which skdump >/dev/null 2>&1 || exit 0
12
        for f in /dev/[sh]d[a-z]; do
13
            test -e "$f" || continue
14
            skdump "$f"
15
            echo
16
        done >smart_data
17
 
18
EVENT=post-create component=libatasmart remote!=1
19
        which skdump >/dev/null 2>&1 || exit 0
20
        for f in /dev/[sh]d[a-z]; do
21
            test -e "$f" || continue
22
            skdump "$f"
23
            echo
24
        done >smart_data
25
 
26
EVENT=post-create component=udisks remote!=1
27
        which skdump >/dev/null 2>&1 || exit 0
28
        for f in /dev/[sh]d[a-z]; do
29
            test -e "$f" || continue
30
            skdump "$f"
31
            echo
32
        done >smart_data