From 011eae436ef9c42ffeae570d10964ab1265c081d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 13 Feb 2010 13:58:07 +0100 Subject: add support for wireless access point with p54usb stick --- .../base-files/src/etc/network/if-post-down.d/03-wireless | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 package/base-files/src/etc/network/if-post-down.d/03-wireless (limited to 'package/base-files/src/etc/network/if-post-down.d/03-wireless') diff --git a/package/base-files/src/etc/network/if-post-down.d/03-wireless b/package/base-files/src/etc/network/if-post-down.d/03-wireless new file mode 100755 index 000000000..66e92639b --- /dev/null +++ b/package/base-files/src/etc/network/if-post-down.d/03-wireless @@ -0,0 +1,15 @@ +#!/bin/sh +set -e + +[ "${IFACE%%[0-9]*}" = "wlan" ] || exit 0 + +case "$IF_WIRELESS_MODE" in + ap) + logger -t hostap "Killing hostapd" + pkill hostapd + ;; + *) + exit 0 + ;; +esac +exit 0 -- cgit v1.2.3