summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/nfs-utils/files/nfs.initd')
-rwxr-xr-xnet-fs/nfs-utils/files/nfs.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd
index 50fc505d3b9f..3cddd3da060c 100755
--- a/net-fs/nfs-utils/files/nfs.initd
+++ b/net-fs/nfs-utils/files/nfs.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.2 2007/04/02 12:28:30 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.3 2007/04/07 11:05:15 vapier Exp $
#---------------------------------------------------------------------------
# This script starts/stops the following
@@ -53,7 +53,7 @@ start_it() {
shift
"$@"
eend $?
- ret=$((${ret} + $?))
+ ret=$((ret + $?))
}
start() {
# Make sure nfs support is loaded in the kernel #64709
@@ -97,13 +97,13 @@ stop() {
ebegin "Stopping NFS mountd"
start-stop-daemon --stop --quiet --oknodo --exec ${mountd}
eend $?
- ret=$((${ret} + $?))
+ ret=$((ret + $?))
# nfsd sets its process name to [nfsd] so don't look for $nfsd
ebegin "Stopping NFS daemon"
start-stop-daemon --stop --quiet --oknodo --name nfsd --user root --signal 2
eend $?
- ret=$((${ret} + $?))
+ ret=$((ret + $?))
# When restarting the NFS server, running "exportfs -ua" probably
# isn't what the user wants. Running it causes all entries listed