]>
Commit | Line | Data |
---|---|---|
9afe5af0 GI |
1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | # Remove shutdown and reboot links; this init script does not need them. | |
b5de401b TF |
5 | case "$1" in |
6 | configure) | |
7 | if dpkg --compare-versions "$2" lt "5.38+svn2879-1"; then | |
8 | if [ -e /etc/rc0.d/K20smartmontools ]; then | |
9 | rm -f /etc/rc0.d/K20smartmontools | |
10 | fi | |
11 | if [ -e /etc/rc6.d/K20smartmontools ]; then | |
12 | rm -f /etc/rc6.d/K20smartmontools | |
13 | fi | |
9afe5af0 | 14 | fi |
b5de401b TF |
15 | ;; |
16 | esac | |
9afe5af0 | 17 | |
fd647e55 | 18 | dpkg-maintscript-helper rm_conffile \ |
b5de401b | 19 | /etc/init.d/smartd 6.1+svn3812-1~ smartmontools -- "$@" |
fd647e55 | 20 | |
9afe5af0 | 21 | #DEBHELPER# |