summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-09 16:55:36 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-09 16:55:36 +0000
commit1941c2fd8358e3fe65ee5395ca14a56505815b15 (patch)
treebb07c59f85d16fcac6b919b05ce6f4a8c9aeb64e /net-wireless/hostapd/files/hostapd-0.4.7-init.d
parentMarked ~hppa (bug #101051). (diff)
downloadgentoo-2-1941c2fd8358e3fe65ee5395ca14a56505815b15.tar.gz
gentoo-2-1941c2fd8358e3fe65ee5395ca14a56505815b15.tar.bz2
gentoo-2-1941c2fd8358e3fe65ee5395ca14a56505815b15.zip
Fix init scripts to work with baselayout-1.12.0_rcX.
(Portage version: 2.0.53)
Diffstat (limited to 'net-wireless/hostapd/files/hostapd-0.4.7-init.d')
-rw-r--r--net-wireless/hostapd/files/hostapd-0.4.7-init.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-wireless/hostapd/files/hostapd-0.4.7-init.d b/net-wireless/hostapd/files/hostapd-0.4.7-init.d
index 92a0c680271c..44ecfb4aac39 100644
--- a/net-wireless/hostapd/files/hostapd-0.4.7-init.d
+++ b/net-wireless/hostapd/files/hostapd-0.4.7-init.d
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-0.4.7-init.d,v 1.1 2005/11/21 10:38:03 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-0.4.7-init.d,v 1.2 2006/01/09 16:55:36 brix Exp $
opts="start stop reload"
@@ -45,6 +45,6 @@ reload() {
checkconfig || return 1
ebegin "Reloading hostapd configuration"
- start-stop-daemon --stop --quiet --exec /usr/sbin/hostapd --signal HUP
+ kill -HUP $(pidof /usr/sbin/hostapd) > /dev/null 2>&1
eend ${?}
}