From: Steinar H. Gunderson Date: Thu, 13 Jul 2006 19:39:08 +0000 (+0200) Subject: Imported Debian patch 1.0.9-3 X-Git-Tag: debian/1%1.0.9-3^0 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fd5e054e5bcf9b5eb21099d6ce42aed37e9ee768;p=nfs-utils.git Imported Debian patch 1.0.9-3 --- diff --git a/debian/changelog b/debian/changelog index 59cc3c6..2b89c97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +nfs-utils (1:1.0.9-3) unstable; urgency=low + + * Don't automatically assume that the kernel is modular if /sbin/modprobe + is available, check for /proc/modules as well; patch from Nicolas + Trecourt. (Closes: #377685) + + -- Steinar H. Gunderson Thu, 13 Jul 2006 21:39:08 +0200 + nfs-utils (1:1.0.9-2) unstable; urgency=low * Merge changes from 1.0.9-1 and 1.0.9pre1-4: diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index aca2802..52913ae 100644 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -37,7 +37,7 @@ fi . /lib/lsb/init-functions do_modprobe() { - if [ -x /sbin/modprobe ] + if [ -x /sbin/modprobe -a -f /proc/modules ] then modprobe -q "$1" || true fi