From 2027604950b769fc73a976705ce11ca1ade931a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Fri, 10 Jan 2025 18:30:08 +0800 Subject: [PATCH] Delete bin/btwifi.sh --- bin/btwifi.sh | 66 --------------------------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 bin/btwifi.sh diff --git a/bin/btwifi.sh b/bin/btwifi.sh deleted file mode 100644 index b86945b..0000000 --- a/bin/btwifi.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash - -# 确保脚本以root用户运行 -if [ "$EUID" -ne 0 ]; then - echo "请以root用户运行或使用sudo" - exit 1 -fi - -# 启动蓝牙服务 -systemctl start bluetooth - -# 使用 bluetoothctl 设置蓝牙 -bluetoothctl < /etc/bluetooth/rfcomm.conf < /etc/iptables.ipv4.nat - -# 将iptables规则加载到rc.local以便在启动时应用 -cat >> /etc/rc.local <