Imported Debian patch 1.0.7-9
[nfs-utils.git] / debian / nfs-kernel-server.init
index 922b734..0cd93a0 100755 (executable)
@@ -64,7 +64,7 @@ case "$1" in
                do_modprobe nfsd
 
                # See if our running kernel supports the NFS kernel server
-               if [ -f /proc/kallsyms ] && ! grep -q nfsd_version /proc/kallsyms; then
+               if [ -f /proc/kallsyms ] && ! grep -q init_nfsd /proc/kallsyms; then
                        echo "Not starting $DESC: no support in current kernel."
                        exit 0
                fi