/[fai]/trunk/debian/fai-nfsroot.postrm
ViewVC logotype

Contents of /trunk/debian/fai-nfsroot.postrm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6200 - (hide annotations) (download)
Thu Nov 25 13:07:51 2010 UTC (2 years, 5 months ago) by mika
File size: 219 byte(s)
fai-nfsroot.postrm: use rm with -f to not fail if /etc/init.d/rcS does not exist

Reported by Holger and Piuparts.

Acked-by: Thomas Lange <lange@informatik.uni-koeln.de>
Acked-by: Holger Levsen <holger@layer-acht.org>
Signed-off-by: Michael Prokop <mika@grml.org>

1 lange 2940 #!/bin/sh -e
2    
3 lange 4517 case "$1" in
4     remove)
5 mika 6200 rm -f /etc/init.d/rcS
6 lange 4517 dpkg-divert --package fai-nfsroot --remove --rename /etc/init.d/rcS
7     ;;
8 lange 2954
9 lange 4517 purge)
10     update-rc.d fai-abort remove > /dev/null
11     ;;
12     esac
13    
14 lange 2954 #DEBHELPER#
15    
16     exit 0

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5