Couldn't we imagine using the output of " df -P /var/lib/nfs/ | tail -n 1 | awk '{print $6}' " to adapt the "/etc/init/statd.conf" script auto-magically during the 'nfs-common' package installation (iow. having the package's "postinst" script add the 'mounted MOUNTPOINT=...' stanza when appropriate) ?
Couldn't we imagine using the output of " df -P /var/lib/nfs/ | tail -n 1 | awk '{print $6}' " to adapt the "/etc/init/ statd.conf" script auto-magically during the 'nfs-common' package installation (iow. having the package's "postinst" script add the 'mounted MOUNTPOINT=...' stanza when appropriate) ?
See proposed attached patch.