summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-07 11:05:15 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-07 11:05:15 +0000
commit3dceb6d16b688f120e9121e59fa949da255bf989 (patch)
tree08603d6c6f71962a15fb1e9e4190e10cf3b4c8f6 /net-fs/nfs-utils/files
parentMeh, forgot it... Stable on arm as well ;) (diff)
downloadgentoo-2-3dceb6d16b688f120e9121e59fa949da255bf989.tar.gz
gentoo-2-3dceb6d16b688f120e9121e59fa949da255bf989.tar.bz2
gentoo-2-3dceb6d16b688f120e9121e59fa949da255bf989.zip
tweak style a little
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-fs/nfs-utils/files')
-rwxr-xr-xnet-fs/nfs-utils/files/nfs.initd8
-rwxr-xr-xnet-fs/nfs-utils/files/rpc.gssd.initd6
2 files changed, 7 insertions, 7 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
diff --git a/net-fs/nfs-utils/files/rpc.gssd.initd b/net-fs/nfs-utils/files/rpc.gssd.initd
index c9cfa5219b36..5dc1a50663d4 100755
--- a/net-fs/nfs-utils/files/rpc.gssd.initd
+++ b/net-fs/nfs-utils/files/rpc.gssd.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/rpc.gssd.initd,v 1.2 2007/04/02 12:28:30 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.gssd.initd,v 1.3 2007/04/07 11:05:15 vapier Exp $
[ -e /etc/conf.d/nfs ] && . /etc/conf.d/nfs
@@ -19,7 +19,7 @@ start_it() {
shift
"$@"
eend $?
- ret=$((${ret} + $?))
+ ret=$((ret + $?))
}
start() {
local ret=0
@@ -32,7 +32,7 @@ stop_it() {
ebegin "Stopping $1"
start-stop-daemon --stop --quiet --exec $2
eend $?
- ret=$((${ret} + $?))
+ ret=$((ret + $?))
}
stop() {
local ret=0