diff options
author | Olivier Blin <blino@mageia.org> | 2012-03-20 22:18:48 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2012-03-20 22:18:48 +0000 |
commit | b27b0af484548f6c1149d3783a82b4e830fc90bf (patch) | |
tree | 45c6cb212169e5517c75e3c5f2dd862fc234e0d8 | |
parent | 9d65d66b36ab727a5db81fec97c5e1e88ddaf630 (diff) | |
download | drakx-net-b27b0af484548f6c1149d3783a82b4e830fc90bf.tar drakx-net-b27b0af484548f6c1149d3783a82b4e830fc90bf.tar.gz drakx-net-b27b0af484548f6c1149d3783a82b4e830fc90bf.tar.bz2 drakx-net-b27b0af484548f6c1149d3783a82b4e830fc90bf.tar.xz drakx-net-b27b0af484548f6c1149d3783a82b4e830fc90bf.zip |
nfs: add .conf suffix to lockd.drakx file in /etc/modprobe.d
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/network/nfs.pm | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ - drakfirewall: o fix listing NFS ports o fix cleaning old rules +- nfs: add .conf suffix to lockd.drakx file in /etc/modprobe.d 1.4: - adapt to drakxtools-13.92+ API change diff --git a/lib/network/nfs.pm b/lib/network/nfs.pm index 9a03700..177c70f 100644 --- a/lib/network/nfs.pm +++ b/lib/network/nfs.pm @@ -77,7 +77,7 @@ sub write_nfs_ports { $lockd_options .= " nlm_tcpport=$ports->{lockd_tcp_port}" if $ports->{lockd_tcp_port}; $lockd_options .= " nlm_udpport=$ports->{lockd_udp_port}" if $ports->{lockd_udp_port}; if ($lockd_options ne "") { - output("$::prefix/etc/modprobe.d/lockd.drakx", "options lockd $lockd_options\n"); + output("$::prefix/etc/modprobe.d/lockd.drakx.conf", "options lockd $lockd_options\n"); } # nfs-server substInFile { |