Mike Karels 1cf8e6339e mountd startup: enable NFSv4 if needed on restart
The mountd script in rc.d sets vfs.nfsd.server_max_nfsvers correctly
when it is run at system startup, relying on the kernel default.
However, if NFSv4 was enabled in /etc/rc.conf later, and the script
was re-run to restart mountd, the sysctl was still set to 3.
Set the sysctl to the right value in all cases.

Reviewed by:	rmacklem
MFC after:	1 week
2022-07-04 08:00:10 -05:00
..
apm
2021-01-28 17:24:24 +00:00
ccd
2021-04-05 16:40:54 +01:00
ddb
2022-06-17 21:27:19 -04:00
2021-04-12 15:28:48 +01:00
2021-04-12 15:28:48 +01:00
kdc
kfd
2021-04-12 15:28:48 +01:00
lpd
2022-05-30 10:43:44 -04:00
pf
2022-03-13 18:57:29 +01:00
2021-04-12 15:28:48 +01:00
2021-05-19 20:02:31 +07:00
stf
2020-10-25 18:27:21 +00:00
2021-05-19 20:02:31 +07:00
2021-04-12 15:18:17 +01:00
tmp
2021-01-19 12:56:23 +01:00
utx
var
2020-09-04 23:36:43 +00:00