fix: bsd status (#284)

This commit is contained in:
lollipopkit
2024-03-12 20:47:18 -06:00
parent 0ad7b4f8b8
commit e361e509af
2 changed files with 8 additions and 13 deletions

View File

@@ -206,7 +206,7 @@ enum StatusCmdType {
/// Cmds for linux server
const _statusCmds = [
'echo $linuxSign',
'echo ${SystemType.linuxSign}',
'date +%s',
'cat /proc/net/dev',
'cat /etc/*-release | grep PRETTY_NAME',
@@ -240,7 +240,7 @@ enum BSDStatusCmdType {
/// Cmds for BSD server
const _bsdStatusCmd = [
'echo $bsdSign',
'echo ${SystemType.bsdSign}',
'date +%s',
'netstat -ibn',
'uname -or',