diff options
author | Rémy Oudompheng <remy@archlinux.org> | 2011-06-19 21:46:47 +0200 |
---|---|---|
committer | Rémy Oudompheng <remy@archlinux.org> | 2011-06-19 21:46:47 +0200 |
commit | 5ac9b45fe392a70c7325aac65ff02f572cdf1cff (patch) | |
tree | faba08a0b514d1668acfb6995d9887a7eda62886 /wpa_actiond | |
parent | 43926c44661a9f8499b3fb9775e1cfdd4aef2bdf (diff) | |
download | netctl-5ac9b45fe392a70c7325aac65ff02f572cdf1cff.tar.gz netctl-5ac9b45fe392a70c7325aac65ff02f572cdf1cff.tar.xz |
Add /etc/conf.d/netcfg for net-auto-wireless configuration.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'wpa_actiond')
-rwxr-xr-x | wpa_actiond/net-auto-wireless | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/wpa_actiond/net-auto-wireless b/wpa_actiond/net-auto-wireless index 5e93a8f..d6a3c44 100755 --- a/wpa_actiond/net-auto-wireless +++ b/wpa_actiond/net-auto-wireless @@ -3,14 +3,16 @@ . /etc/rc.conf . /etc/rc.d/functions . /usr/lib/network/globals +. /etc/conf.d/netcfg if [[ ! -x /usr/sbin/wpa_actiond ]]; then echo "Please install 'wpa_actiond' to use net-auto-wireless" exit 1 -fi +fi if [ -z "${WIRELESS_INTERFACE}" ]; then - echo "No interface name set. Set it by adding WIRELESS_INTERFACE=\"your_interface\" to rc.conf" + echo "No interface name set. Add to /etc/conf.d/netcfg a line" + echo " WIRELESS_INTERFACE=\"your_interface\"" exit 1 fi |