projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: silence rm
[openwrt/staging/dedeckeh.git]
/
package
/
network
/
services
/
hostapd
/
files
/
hostapd.sh
diff --git
a/package/network/services/hostapd/files/hostapd.sh
b/package/network/services/hostapd/files/hostapd.sh
index f04d8229a7adbe980ccc84c27acf5aa0409ab59d..c9c0507120f9088b61c074117f1e2acd139588c4 100644
(file)
--- a/
package/network/services/hostapd/files/hostapd.sh
+++ b/
package/network/services/hostapd/files/hostapd.sh
@@
-273,7
+273,7
@@
hostapd_set_vlan_file() {
hostapd_set_vlan() {
local ifname="$1"
hostapd_set_vlan() {
local ifname="$1"
- rm /var/run/hostapd-${ifname}.vlan
+ rm
-f
/var/run/hostapd-${ifname}.vlan
for_each_vlan hostapd_set_vlan_file ${ifname}
}
for_each_vlan hostapd_set_vlan_file ${ifname}
}
@@
-291,7
+291,7
@@
hostapd_set_psk_file() {
hostapd_set_psk() {
local ifname="$1"
hostapd_set_psk() {
local ifname="$1"
- rm /var/run/hostapd-${ifname}.psk
+ rm
-f
/var/run/hostapd-${ifname}.psk
for_each_station hostapd_set_psk_file ${ifname}
}
for_each_station hostapd_set_psk_file ${ifname}
}