Skip to content

Commit

Permalink
mac80211.sh: Add backup
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Jan 28, 2022
1 parent 2645fd4 commit 570bd94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ EOF
# Add wireless master mode
wireless_mac80211="lib/netifd/wireless/mac80211.sh"
[ -f "${wireless_mac80211}" ] && {
cp -f ${wireless_mac80211} ${wireless_mac80211}.bak
sed -i "s|iw |ipconfig |g" ${wireless_mac80211}
}

Expand Down

0 comments on commit 570bd94

Please sign in to comment.