aboutsummaryrefslogtreecommitdiff
path: root/network/wifi-radar/rc.wifi-radar
diff options
context:
space:
mode:
Diffstat (limited to 'network/wifi-radar/rc.wifi-radar')
-rw-r--r--network/wifi-radar/rc.wifi-radar2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/wifi-radar/rc.wifi-radar b/network/wifi-radar/rc.wifi-radar
index 014d9d9bd9ed..488f1480865d 100644
--- a/network/wifi-radar/rc.wifi-radar
+++ b/network/wifi-radar/rc.wifi-radar
@@ -11,7 +11,7 @@ PIDFILE=/var/run/wifi.pid
start() {
# use the forced interface found in rc.inet1.conf or guess it
[ ! "$INTERFACE" ] && INTERFACE="$(iwconfig 2>/dev/null | grep ESSID | head -n1 | cut -d " " -f 1)"
- sed -i "s/^[ \t]*interface[ \t]*=[ \t]*.*/interface = $INTERFACE/" /etc/wifi-radar/wifi-radar.conf
+ sed -i "s/^[ \t]*interface[ \t]*=[ \t]*.*/interface = $INTERFACE/" /etc/wifi-radar.conf
if [ -e "${PIDFILE}" ]; then
echo "Found existing ${PIDFILE}! Stopping first before starting"