2 Star 0 Fork 3

elitah/mt7601_ap_driver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tencent_build.sh 1001 Bytes
一键复制 编辑 原始数据 按行查看 历史
elitah 提交于 2015-11-13 14:07 . fix build.sh
#!/bin/sh
~/mount.sh
make -C ./deamon clean >> /dev/null
sudo rm -rf ./etc/Wireless/RT2870AP/wifi_deamon >> /dev/null
sudo rm -rf ./etc/Wireless/RT2870AP/*.ko >> /dev/null
make clean >> /dev/null
make all
make -C ./deamon wifi_deamon
if [ -f "./deamon/wifi_deamon" ] && [ -f "./src/os/linux/mt7601Uap.ko" ] && [ -f "./src/os/linux/rtnet7601Uap.ko" ] && [ -f "./src/os/linux/rtutil7601Uap.ko" ]; then
sudo cp -raf ./deamon/wifi_deamon ./etc/Wireless/RT2870AP/
sudo cp -raf ./src/os/linux/*.ko ./etc/Wireless/RT2870AP/
sudo chown -R root:root ./etc
sudo chmod 0755 ./etc/Wireless/RT2870AP/wifi_deamon
sudo chmod 0755 ./etc/Wireless/RT2870AP/wifiload.sh
sudo chmod 0644 ./etc/Wireless/RT2870AP/*.ko
sudo chmod 0644 ./etc/Wireless/RT2870AP/*.dat
sudo chmod 0644 ./etc/Wireless/RT2870AP/*.bak
sudo rm -rf rt2870.tar
tar cvf rt2870.tar etc
sudo rm -rf rt2870.tar.xz
xz rt2870.tar
mv rt2870.tar.xz ~/share/tftpdir/wifi
else
echo "~~~~~~~~~~~~~~~~failed~~~~~~~~~~~~~~~~~~~"
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/elitah/mt7601_ap_driver.git
git@gitee.com:elitah/mt7601_ap_driver.git
elitah
mt7601_ap_driver
mt7601_ap_driver
master

搜索帮助