File: postrm

package info (click to toggle)
raidtools 0.42-12
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 316 kB
  • ctags: 126
  • sloc: ansic: 2,046; makefile: 126; sh: 87
file content (9 lines) | stat: -rw-r--r-- 149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#! /bin/sh

set -e

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