summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2008-12-13 10:53:29 +0000
committerAlin Năstac <mrness@gentoo.org>2008-12-13 10:53:29 +0000
commit8a568c84fe6f41617c91adf3a959c249f94199f2 (patch)
tree0af7033a0c307abd4d0259a55684353bbc6721e2 /net-dns/pdnsd/files
parentSign manifest (diff)
downloadhistorical-8a568c84fe6f41617c91adf3a959c249f94199f2.tar.gz
historical-8a568c84fe6f41617c91adf3a959c249f94199f2.tar.bz2
historical-8a568c84fe6f41617c91adf3a959c249f94199f2.zip
Declare i var as local
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'net-dns/pdnsd/files')
-rw-r--r--net-dns/pdnsd/files/pdnsd.online4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/pdnsd/files/pdnsd.online b/net-dns/pdnsd/files/pdnsd.online
index 8db7f6f25690..323f658c6a38 100644
--- a/net-dns/pdnsd/files/pdnsd.online
+++ b/net-dns/pdnsd/files/pdnsd.online
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.online,v 1.5 2008/12/13 10:50:00 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/pdnsd/files/pdnsd.online,v 1.6 2008/12/13 10:53:29 mrness Exp $
depend() {
need pdnsd net.${IFACE}
}
wait_for_socket() {
- local pdnsd_socket="/var/cache/pdnsd/pdnsd.status"
+ local i pdnsd_socket="/var/cache/pdnsd/pdnsd.status"
for ((i=0; i < 10; i=$i+1)) ; do
[ -S "${pdnsd_socket}" ] && return 0
sleep 1s