refactor(led): drop openvfd sysfs writes, log [vfd] at debug

- WiFi/BT/status/display: no fs/tee; preserve info-level state messages
- install: remove ExecStartPre openvfd init

Made-with: Cursor
This commit is contained in:
stswangzhiping
2026-03-27 16:31:17 +08:00
parent 6ad573e272
commit 402440aadc
2 changed files with 20 additions and 95 deletions

View File

@@ -189,8 +189,6 @@ Wants=NetworkManager.service
[Service]
Type=simple
EnvironmentFile=$ENV_FILE
# 部分机型无 openvfd 或路径不同不存在则跳过3528 等新板可忽略)
ExecStartPre=/bin/sh -c 'for p in /sys/devices/platform/openvfd/attr/b1 /sys/devices/platform/openvfd/attr/b2; do [ -e "$p" ] && echo 1 >"$p" 2>/dev/null || true; done'
ExecStart=$NODE_BIN $INSTALL_DIR/bin/clawd.js
WorkingDirectory=$INSTALL_DIR