From e303bc43ec8303dc6c42bc8d1e222af6bfb17efb Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Mon, 10 Jun 2024 15:25:39 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B4=AF=E8=AE=A1=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/override.yaml | 4 ++-- install.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/override.yaml b/config/override.yaml index c38d947a..bf5f6a6e 100644 --- a/config/override.yaml +++ b/config/override.yaml @@ -25,10 +25,10 @@ kvmd: mac: 2c:56:dc:db:7c:1e short_press: type: cmd - cmd: [/usr/bin/sudo, short_press_gpio420] + cmd: [/usr/bin/sudo, onecloud_gpio.sh, short] long_press: type: cmd - cmd: [/usr/bin/sudo, long_press_gpio420] + cmd: [/usr/bin/sudo, onecloud_gpio.sh, long] scheme: wol_server1: driver: wol_server1 diff --git a/install.sh b/install.sh index a9eae846..7152fa1c 100755 --- a/install.sh +++ b/install.sh @@ -120,8 +120,8 @@ EOF #打印完成信息 show_info(){ - ipaddr=`ip addr | grep "scope global" | awk '{print $2}' |awk -F/ '{print $1}'` - echo -e "默认访问地址为:\nhttps://$ipaddr" + echo -e "安装结束" + /usr/bin/armbian-motd } check_environment