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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3675 - (show annotations) (download)
Mon Jul 24 15:12:07 2006 UTC (6 years, 10 months ago) by lange
File size: 520 byte(s)
new handling how to create and remove /srv/tftp/fai and $nfsroot
1 #! /bin/sh
2
3 # postrm script for fai
4
5
6 set -e
7
8 case "$1" in
9 purge)
10 rm -rf /srv/tftp/fai /var/run/fai
11 echo "WARNING: removing NFSROOT $NFSROOT"
12 rm -rf $NFSROOT || true
13
14 ;;
15
16 remove)
17 rmdir /srv/tftp/fai || true
18
19 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;;
20
21 *)
22 echo "postrm called with unknown argument \`$1'" >&2
23 exit 1
24
25 esac
26
27 # dh_installdeb will replace this with shell code automatically
28 # generated by other debhelper scripts.
29
30 #DEBHELPER#
31
32 exit 0

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5