代码拉取完成,页面将自动刷新
#!/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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。