diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 11:05:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-07 11:05:15 +0000 |
commit | 3dceb6d16b688f120e9121e59fa949da255bf989 (patch) | |
tree | 08603d6c6f71962a15fb1e9e4190e10cf3b4c8f6 /net-fs/nfs-utils/files/nfs.initd | |
parent | Meh, forgot it... Stable on arm as well ;) (diff) | |
download | gentoo-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/nfs.initd')
-rwxr-xr-x | net-fs/nfs-utils/files/nfs.initd | 8 |
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 |