File: postrm

package info (click to toggle)
raidtools2 0.90.990824-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 688 kB
  • ctags: 468
  • sloc: ansic: 2,631; makefile: 143; sh: 114
file content (9 lines) | stat: -rw-r--r-- 165 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#! /bin/sh

set -e

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