Skip to content

Commit

Permalink
v6.20
Browse files Browse the repository at this point in the history
+ DietPi-Config | Remove wireless-power setting from /etc/network/interfaces, if not supported by adapter/firmware
  • Loading branch information
MichaIng authored Jan 21, 2019
1 parent 44a850e commit 17a1a06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dietpi/dietpi-config
Original file line number Diff line number Diff line change
Expand Up @@ -2445,6 +2445,9 @@ _EOF_

fi

# - Remove wireless-power setting, if not supported by adapter/firmware
iwconfig wlan$WIFI_DEV_INDEX power off &> /dev/null || sed -i 's/^wireless-power/d' /etc/network/interfaces

# - Update WiFi db/wpa_supplicant
/DietPi/dietpi/func/dietpi-wifidb 1

Expand Down

0 comments on commit 17a1a06

Please sign in to comment.