diff --git a/package/network/config/wifi-scripts/Makefile b/package/network/config/wifi-scripts/Makefile index ae41f74949..f84522d8fd 100644 --- a/package/network/config/wifi-scripts/Makefile +++ b/package/network/config/wifi-scripts/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifi-scripts PKG_VERSION:=1.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_LICENSE:=GPL-2.0 PKG_MAINTAINER:=Felix Fietkau diff --git a/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-wifi-up-oneshot b/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-wifi-up-oneshot new file mode 100644 index 0000000000..b5570672d8 --- /dev/null +++ b/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/11-wifi-up-oneshot @@ -0,0 +1,8 @@ +#!/bin/sh + +[ "${ACTION}" = "add" ] && { + [ -f /tmp/.wifi-up ] && exit 0 + touch /tmp/.wifi-up + + /sbin/wifi isup || /sbin/wifi up +}