]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
nfs-server: Fix kernel version check in initscript.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Apr 2015 16:59:12 +0000 (18:59 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 3 Apr 2015 16:59:12 +0000 (18:59 +0200)
commit668ea5d311f10b63dd69718b9a43aa5d03029d5d
tree4cae920f9c7f9b53b412a951542ffa7d17ec27d8
parent6949953b7f8639d6ceca852416e285d3a04dd1e2
nfs-server: Fix kernel version check in initscript.

nfsd requires a mounted nfsd filesystem which has been introduced in
the kernel 2.6 tree. To determine the current running kernel, a check
was included in the initscript which works fine until we switched to a kernel
version 3.x.

This commit fixes this check, so the nfs-server will startup again.

Fixes #10760.
lfs/nfs
src/initscripts/init.d/nfs-server