summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/ufdbguard/files/ufdb.initd')
-rw-r--r--net-proxy/ufdbguard/files/ufdb.initd6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-proxy/ufdbguard/files/ufdb.initd b/net-proxy/ufdbguard/files/ufdb.initd
index 19ec14f1ca21..1ad58e89e470 100644
--- a/net-proxy/ufdbguard/files/ufdb.initd
+++ b/net-proxy/ufdbguard/files/ufdb.initd
@@ -1,11 +1,11 @@
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd,v 1.3 2011/09/06 10:03:38 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/ufdbguard/files/ufdb.initd,v 1.4 2011/09/14 11:37:04 flameeyes Exp $
# reconfig is what the upstream documentation suggests, so let's
# provide it for compatibility.
-opts="${opts} reload reconfig"
+extra_started_commands="reload reconfig"
depend() {
need net
@@ -74,7 +74,7 @@ reload() {
gentables
ebegin "Reloading ufdbGuard"
- kill -HUP $(</var/run/ufdbguard/ufdbguardd.pid)
+ kill -HUP "$(cat /var/run/ufdbguard/ufdbguardd.pid)"
eend $? "Failed to reload ufdbGuard"
}