+nfs-utils (1:1.2.6-3) UNRELEASED; urgency=low
+
+ * Iterate through exports.d to look for expors (Closes: #676604).
+
+ -- Luk Claes <luk@zomers.be> Tue, 10 Jul 2012 19:35:56 +0200
+
nfs-utils (1:1.2.6-2) unstable; urgency=low
* Move open-iscsi and watchdog to Suggests.
# See how we were called.
case "$1" in
start)
- if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports
+ export_files="/etc/exports"
+ for file in /etc/exports.d/*.exports ; do
+ if [ -f "$file" ]; then
+ export_files="$export_files $file"
+ fi
+ done
+ if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' $export_files
then
do_modprobe nfsd