From 1129ba0d0fcfd45123c6ba17f7a7aeeb24b11e61 Mon Sep 17 00:00:00 2001 From: Cristian Ionescu-Idbohrn Date: Thu, 26 Aug 2010 04:27:14 +0100 Subject: [PATCH] nfs-common.init: Ignore empty and commented-out fstab lines (Closes: #587329) --- debian/changelog | 2 ++ debian/nfs-common.init | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 31584ad..8167d72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ nfs-utils (1:1.2.2-4) UNRELEASED; urgency=low * mountd: fix path comparison for v4 crossmnt (Closes: #578317) + * nfs-common.init: Ignore empty and commented-out fstab lines, thanks + to Cristian Ionescu-Idbohrn (Closes: #587329) -- Ben Hutchings Thu, 26 Aug 2010 03:39:40 +0100 diff --git a/debian/nfs-common.init b/debian/nfs-common.init index dc93bea..9f5ebf5 100644 --- a/debian/nfs-common.init +++ b/debian/nfs-common.init @@ -45,6 +45,11 @@ if [ -f /etc/fstab ]; then while read DEV MTPT FSTYPE OPTS REST do + case $DEV in + ''|\#*) + continue + ;; + esac if [ "$FSTYPE" = "nfs4" ]; then AUTO_NEED_IDMAPD=yes fi -- 2.39.5