diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2008-08-20 22:12:18 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2008-08-20 22:12:18 +0000 |
commit | 16eaae0959541a3808c7d23aeb9b1ee1a0b46f05 (patch) | |
tree | 5463fa22184aa1166f362003e98f4dbdc2e2e231 /net-wireless/hostapd/files | |
parent | readd jbig USE-flag, by Fabian Groffen <grobian@gentoo.org> in bug #235131 (diff) | |
download | gentoo-2-16eaae0959541a3808c7d23aeb9b1ee1a0b46f05.tar.gz gentoo-2-16eaae0959541a3808c7d23aeb9b1ee1a0b46f05.tar.bz2 gentoo-2-16eaae0959541a3808c7d23aeb9b1ee1a0b46f05.zip |
Removing 0.4.9 since it is no longer being developed on, and 0.5.10 is
finally marked stable.
(Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc3 i686)
Diffstat (limited to 'net-wireless/hostapd/files')
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.9-conf.d | 9 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.4.9-init.d | 50 |
2 files changed, 0 insertions, 59 deletions
diff --git a/net-wireless/hostapd/files/hostapd-0.4.9-conf.d b/net-wireless/hostapd/files/hostapd-0.4.9-conf.d deleted file mode 100644 index 7d05735eb3b4..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.9-conf.d +++ /dev/null @@ -1,9 +0,0 @@ -# Space separated List of interfaces which needs to be started before -# hostapd -INTERFACES="wlan0" - -# Space separated list of configuration files -CONFIGS="/etc/hostapd/hostapd.conf" - -# Extra options to pass to hostapd, see hostapd(8) -OPTIONS="" diff --git a/net-wireless/hostapd/files/hostapd-0.4.9-init.d b/net-wireless/hostapd/files/hostapd-0.4.9-init.d deleted file mode 100644 index 23784004d3d4..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.4.9-init.d +++ /dev/null @@ -1,50 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2006 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.9-init.d,v 1.1 2006/05/27 19:57:22 brix Exp $ - -opts="start stop reload" - -depend() { - local iface - - for iface in ${INTERFACES}; do - need net.${iface} - done - - use logger -} - -checkconfig() { - local file - - for file in ${CONFIGS}; do - if [[ ! -r ${file} ]]; then - eerror "hostapd configuration file (${CONFIG}) not found" - return 1 - fi - done -} - -start() { - checkconfig || return 1 - - ebegin "Starting hostapd" - start-stop-daemon --start --exec /usr/sbin/hostapd \ - -- -B ${OPTIONS} ${CONFIGS} - eend ${?} -} - -stop() { - ebegin "Stopping hostapd" - start-stop-daemon --stop --exec /usr/sbin/hostapd - eend ${?} -} - -reload() { - checkconfig || return 1 - - ebegin "Reloading hostapd configuration" - kill -HUP $(pidof /usr/sbin/hostapd) > /dev/null 2>&1 - eend ${?} -} |