1 Star 0 Fork 0

yeefeiot / rtl8821CU

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dkms-remove.sh 503 Bytes
一键复制 编辑 原始数据 按行查看 历史
ESTBLC 提交于 2019-04-30 19:34 . Add dkms scripts for quick install
#!/bin/bash
if [[ $EUID -ne 0 ]]; then
echo "You must run this with superuser priviliges. Try \"sudo ./dkms-remove.sh\"" 2>&1
exit 1
else
echo "About to run dkms removal steps..."
fi
DRV_DIR=rtl8821CU
DRV_NAME=rtl8821CU
DRV_VERSION=5.4.1
dkms remove ${DRV_NAME}/${DRV_VERSION} --all
rm -rf /usr/src/${DRV_NAME}-${DRV_VERSION}
RESULT=$?
if [[ "$RESULT" != "0" ]]; then
echo "Error occurred while running dkms remove." 2>&1
else
echo "Finished running dkms removal steps."
fi
exit $RESULT
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yeefeiot/rtl8821CU.git
git@gitee.com:yeefeiot/rtl8821CU.git
yeefeiot
rtl8821CU
rtl8821CU
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891