Skip to content

Commit

Permalink
v8.17
Browse files Browse the repository at this point in the history
- META | Satisfy shellcheck
  • Loading branch information
MichaIng committed Apr 30, 2023
1 parent 9603814 commit 8147d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -13247,6 +13247,7 @@ pre-up iw dev $wifi_iface set power_save off
post-down iw dev $wifi_iface set power_save on
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
_EOF_
# shellcheck disable=SC2015
iw dev "$wifi_iface" set power_save on 2> /dev/null && iw dev "$wifi_iface" set power_save off 2> /dev/null || G_EXEC sed -i '/ iw dev .* set power_save /d' /etc/network/interfaces
# - Flush iptables
iptables -F
Expand Down

0 comments on commit 8147d8b

Please sign in to comment.