File: postrm

package info (click to toggle)
raidtools2 0.90.20010914-15
  • links: PTS
  • area: main
  • in suites: woody
  • size: 692 kB
  • ctags: 467
  • sloc: ansic: 2,861; sh: 187; makefile: 144
file content (16 lines) | stat: -rw-r--r-- 321 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/sh

set -e

. /usr/share/debconf/confmodule

if [ "$1" = "purge" ]
then
    update-rc.d raid2 remove > /dev/null
    test -f /etc/rcS.d/S??raid2 && rm -f /etc/rcS.d/S??raid2 || /bin/true
fi

if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
        db_purge
fi