Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373094 Details for
Bug 505166
net-wireless/hostapd improved init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hostapd-init.d
hostapd-init.d (text/plain), 862 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2014-03-20 13:14:39 UTC
(
hide
)
Description:
hostapd-init.d
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2014-03-20 13:14:39 UTC
Size:
862 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/files/hostapd-init.d,v 1.3 2011/09/25 14:03:46 gurligebis Exp $ > >pidfile="/var/run/${SVCNAME}.pid" >command="/usr/sbin/hostapd" >command_args="-P ${pidfile} -B ${OPTIONS} ${CONFIGS}" > >extra_started_commands="reload" > >depend() { > local myneeds= > for iface in ${INTERFACES}; do > myneeds="${myneeds} net.${iface}" > done > > [ -n "${myneeds}" ] && need ${myneeds} > use logger >} > >start_pre() { > local file > > for file in ${CONFIGS}; do > if [ ! -r "${file}" ]; then > eerror "hostapd configuration file (${CONFIG}) not found" > return 1 > fi > done >} > >reload() { > start_pre || return 1 > > ebegin "Reloading ${SVCNAME} configuration" > kill -HUP $(cat ${pidfile}) > /dev/null 2>&1 > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 505166
: 373094 |
373096