summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2012-03-20 22:18:48 +0000
committerOlivier Blin <blino@mageia.org>2012-03-20 22:18:48 +0000
commitb27b0af484548f6c1149d3783a82b4e830fc90bf (patch)
tree45c6cb212169e5517c75e3c5f2dd862fc234e0d8
parent9d65d66b36ab727a5db81fec97c5e1e88ddaf630 (diff)
downloaddrakx-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--NEWS1
-rw-r--r--lib/network/nfs.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 90123e2..0573142 100644
--- a/NEWS
+++ b/NEWS
@@ -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 {