Parent Directory
|
Revision Log
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 |
| Name | Value |
|---|---|
| svn:eol-style | native |
| svn:keywords | Author Date Id Revision |
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |