mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
累计更新
This commit is contained in:
@@ -25,10 +25,10 @@ kvmd:
|
|||||||
mac: 2c:56:dc:db:7c:1e
|
mac: 2c:56:dc:db:7c:1e
|
||||||
short_press:
|
short_press:
|
||||||
type: cmd
|
type: cmd
|
||||||
cmd: [/usr/bin/sudo, short_press_gpio420]
|
cmd: [/usr/bin/sudo, onecloud_gpio.sh, short]
|
||||||
long_press:
|
long_press:
|
||||||
type: cmd
|
type: cmd
|
||||||
cmd: [/usr/bin/sudo, long_press_gpio420]
|
cmd: [/usr/bin/sudo, onecloud_gpio.sh, long]
|
||||||
scheme:
|
scheme:
|
||||||
wol_server1:
|
wol_server1:
|
||||||
driver: wol_server1
|
driver: wol_server1
|
||||||
|
|||||||
@@ -120,8 +120,8 @@ EOF
|
|||||||
|
|
||||||
#打印完成信息
|
#打印完成信息
|
||||||
show_info(){
|
show_info(){
|
||||||
ipaddr=`ip addr | grep "scope global" | awk '{print $2}' |awk -F/ '{print $1}'`
|
echo -e "安装结束"
|
||||||
echo -e "默认访问地址为:\nhttps://$ipaddr"
|
/usr/bin/armbian-motd
|
||||||
}
|
}
|
||||||
|
|
||||||
check_environment
|
check_environment
|
||||||
|
|||||||
Reference in New Issue
Block a user