hostapd: silence rm
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 8 Jun 2020 03:03:05 +0000 (06:03 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 8 Jun 2020 05:59:02 +0000 (08:59 +0300)
commit8a858363b00d9496a04ff381d65301b1d529faee
tree5b7471fb45a3dc46c533b1cefd4061f253b59469
parentc37487a63db365761cdd00c6ce3410d265b85aa9
hostapd: silence rm

When bringing up wifi the first time after boot, these warnings appear:

netifd: radio0 (1370): rm: can't remove '/var/run/hostapd-wlan0.psk': No such file or directory
netifd: radio0 (1370): rm: can't remove '/var/run/hostapd-wlan0.vlan': No such file or directory

Silence them by adding the "-f" option to rm.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: John Crispin <john@phrozen.org>
package/network/services/hostapd/files/hostapd.sh