diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2009-04-05 11:12:28 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2009-04-05 11:12:28 +0000 |
commit | b425e6b33bc92622531427619221ccefa41b9f5f (patch) | |
tree | 35f12a32d58263f4febbfbbd91a4551dbdf724cd /net-wireless/hostapd/files | |
parent | Stable on alpha, bug #260269 (diff) | |
download | gentoo-2-b425e6b33bc92622531427619221ccefa41b9f5f.tar.gz gentoo-2-b425e6b33bc92622531427619221ccefa41b9f5f.tar.bz2 gentoo-2-b425e6b33bc92622531427619221ccefa41b9f5f.zip |
Removing 0.5.10, since it has been superseeded by 0.6.8
(Portage version: 2.2_rc28/cvs/Linux i686)
Diffstat (limited to 'net-wireless/hostapd/files')
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.5.10-conf.d | 9 | ||||
-rw-r--r-- | net-wireless/hostapd/files/hostapd-0.5.10-init.d | 50 |
2 files changed, 0 insertions, 59 deletions
diff --git a/net-wireless/hostapd/files/hostapd-0.5.10-conf.d b/net-wireless/hostapd/files/hostapd-0.5.10-conf.d deleted file mode 100644 index 7d05735eb3b4..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.5.10-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.5.10-init.d b/net-wireless/hostapd/files/hostapd-0.5.10-init.d deleted file mode 100644 index 3007f593d139..000000000000 --- a/net-wireless/hostapd/files/hostapd-0.5.10-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.5.10-init.d,v 1.1 2008/05/14 22:08:23 gurligebis 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 ${?} -} |