Skip to content

Instantly share code, notes, and snippets.

View guilhermetp's full-sized avatar
👾

Guilherme Tucunduva de Paiva guilhermetp

👾
View GitHub Profile
@guilhermetp
guilhermetp / import_nexus_dep.sh
Last active July 31, 2019 23:19
Bash file to import m2 dependencies to nexus
#!/bin/bash
BASEDIR=$(dirname "$0")
echo "$BASEDIR"
if [[ $# -eq 0 ]] ; then
echo 'How to \n\n\n import_nexus_dep.sh http://<YOURREPO> <USER> <PASS> <M2_PATHh> <FILTER(optional)>'
exit 0
fi
sudo rm /lib/firmware/ath10k/QCA6174/hw2.1/*
sudo rm /lib/firmware/ath10k/QCA6174/hw3.0/*
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board.bin?raw=true
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/board-2.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/board-2.bin?raw=true
sudo wget -O /lib/firmware/ath10k/QCA6174/hw3.0/firmware-4.bin https://github.com/kvalo/ath10k-firmware/blob/master/QCA6174/hw3.0/firmware-4.bin_WLAN.RM.2.0-00180-QCARMSWPZ-1?raw=true