📄 deviceup-01.testie
字号:
%infotest device up/down%require[ `whoami` = root ]ifconfig eth1 >/dev/null 2>&1%scriptifconfig eth1 downclick-install KERNELCONFIGusleep 5000ifconfig eth1 upusleep 5000ifconfig eth1 downusleep 5000click-uninstallifconfig eth1 up%file KERNELCONFIGFromDevice(eth1) -> Idle -> ToDevice(eth1)Idle -> ToHost(eth1)%expect stderrKERNELCONFIG:1: While configuring 'ToDevice@3 :: ToDevice': warning: device 'eth1' is downKERNELCONFIG:1: While configuring 'FromDevice@1 :: FromDevice': warning: device 'eth1' is downKERNELCONFIG:2: While initializing 'ToHost@5 :: ToHost': warning: device 'eth1' is down
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -