]> git.decadent.org.uk Git - nfs-utils.git/blob - debian/nfs-common.postinst
Version 0.2.
[nfs-utils.git] / debian / nfs-common.postinst
1 #!/bin/sh -e
2
3 case "$1" in
4     configure)
5         test ! -d /usr/share/doc/nfs-common ||
6           test -L /usr/doc/nfs-common ||
7           ln -sf ../share/doc/nfs-common /usr/doc/nfs-common
8
9         update-rc.d nfs-common defaults 19 81 >/dev/null 2>&1
10
11         /etc/init.d/nfs-common start
12         ;;
13
14     *)
15         /etc/init.d/nfs-common start
16         ;;
17 esac