diff options
author | Brad Davis <brd@FreeBSD.org> | 2018-07-28 20:36:23 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2018-07-28 20:36:23 +0000 |
commit | 1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c (patch) | |
tree | 0e0dbb798c6f8b921cdb45e02fa5baa6a6fe05d7 /etc/rc.d/hostapd | |
parent | c59a544e09735f4c425b2cc5afb1b7154bd4f240 (diff) | |
download | src-1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c.tar.gz src-1135e97b7c2c3b60fda9a6f2f4a24a8336b1024c.zip |
Move rc startup scripts from etc/ to sbin/init/
This keeps most startup scripts as CONFS per discussion on src-committers from
back during BSDCan.
Approved by: will (mentor)
Differential Revision: https://reviews.freebsd.org/D16466
Notes
Notes:
svn path=/head/; revision=336845
Diffstat (limited to 'etc/rc.d/hostapd')
-rwxr-xr-x | etc/rc.d/hostapd | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/etc/rc.d/hostapd b/etc/rc.d/hostapd deleted file mode 100755 index d0c2d88f2ff4..000000000000 --- a/etc/rc.d/hostapd +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: hostapd -# REQUIRE: mountcritremote -# KEYWORD: nojail shutdown - -. /etc/rc.subr - -name="hostapd" -desc="Authenticator for IEEE 802.11 networks" -command="/usr/sbin/${name}" - -ifn="$2" -if [ -z "$ifn" ]; then - rcvar="hostapd_enable" - conf_file="/etc/${name}.conf" - pidfile="/var/run/${name}.pid" -else - rcvar= - conf_file="/etc/${name}-${ifn}.conf" - pidfile="/var/run/${name}-${ifn}.pid" -fi - -command_args="-P ${pidfile} -B ${conf_file}" -required_files="${conf_file}" -required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp" -extra_commands="reload" - -load_rc_config ${name} -run_rc_command "$1" |