+2001-12-13 Chip Salzenberg <chip@pobox.com>
+
+ * debian/changelog: Version 0.3.3-5.
+
2001-11-26 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
* support/nfs/xio.c (xskip): Call `xungetc' instead of
+nfs-utils (1:0.3.3-5) unstable; urgency=high
+
+ * Keep NFS fully operational during upgrade. (closes: #76544)
+ * When calling update-rc.d, send stdout to /dev/null, but not stderr.
+
+ -- Chip Salzenberg <chip@debian.org> Thu, 13 Dec 2001 18:30:36 -0800
+
nfs-utils (1:0.3.3-4) unstable; urgency=high
* High priority due to changes in previous version.
case "$1" in
configure)
- update-rc.d nfs-common defaults 19 81 >/dev/null 2>&1
+ update-rc.d nfs-common defaults 19 81 >/dev/null
;;
esac
-/etc/init.d/nfs-common start
+act="restart"
+[ "$1:$2" = "configure:" ] && act="start"
+/etc/init.d/nfs-common $act
case "$1" in
purge)
- update-rc.d nfs-common remove >/dev/null 2>&1
+ update-rc.d nfs-common remove >/dev/null
;;
esac
#DEBHELPER#
-[ -x /etc/init.d/nfs-common ] && /etc/init.d/nfs-common stop
+case "$1" in
+ remove|purge)
+ [ -x /etc/init.d/nfs-common ] &&
+ /etc/init.d/nfs-common stop
+ ;;
+esac
if [ "$1" != upgrade ]
then
start-stop-daemon --start --quiet \
--exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT
printf " mountd"
- $PREFIX/bin/rpcinfo -u localhost nfs 3 > /dev/null 2>&1 ||
+ $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
RPCMOUNTDOPTS="$RPCMOUNTDOPTS --no-nfs-version 3"
start-stop-daemon --start --quiet \
--exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS
# The old nfs-server's init script can't tell that it's been
# removed, so we have to kill the symlinks to it.
- update-rc.d -f nfs-server remove
+ update-rc.d -f nfs-server remove >/dev/null
- update-rc.d nfs-kernel-server defaults 20 80 >/dev/null 2>&1
+ update-rc.d nfs-kernel-server defaults 20 80 >/dev/null
;;
esac
db_stop
-/etc/init.d/nfs-kernel-server start
+act="restart"
+[ "$1:$2" = "configure:" ] && act="start"
+/etc/init.d/nfs-kernel-server $act
case "$1" in
purge)
- update-rc.d nfs-kernel-server remove >/dev/null 2>&1
+ update-rc.d nfs-kernel-server remove >/dev/null
;;
esac
#DEBHELPER#
-[ -x /etc/init.d/nfs-kernel-server ] && /etc/init.d/nfs-kernel-server stop
+case "$1" in
+ remove|purge)
+ [ -x /etc/init.d/nfs-kernel-server ] &&
+ /etc/init.d/nfs-kernel-server stop
+ ;;
+esac
if [ "$1" != upgrade ]
then