mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-23 16:45:27 +01:00
new & opt.
- new: ssh discontinuity test - opt.: server cmds - opt.: check ssh client status before exec cmds - new: #124 notify on discontinuity
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 474;
|
||||
static const int build = 476;
|
||||
static const String engine = "3.10.6";
|
||||
static const String buildAt = "2023-08-16 15:42:48.857532";
|
||||
static const int modifications = 24;
|
||||
static const String buildAt = "2023-08-17 18:45:06.973608";
|
||||
static const int modifications = 5;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,8 @@ const serverBoxDir = r'$HOME/.config/server_box';
|
||||
const shellPath = '$serverBoxDir/mobile_app.sh';
|
||||
|
||||
const statusCmds = [
|
||||
'cat /proc/net/dev && date +%s',
|
||||
'date +%s',
|
||||
'cat /proc/net/dev',
|
||||
'cat /etc/os-release | grep PRETTY_NAME',
|
||||
'cat /proc/stat | grep cpu',
|
||||
'uptime',
|
||||
|
||||
@@ -31,7 +31,7 @@ NetSpeedPart get _initNetSpeedPart => NetSpeedPart(
|
||||
'',
|
||||
BigInt.zero,
|
||||
BigInt.zero,
|
||||
BigInt.zero,
|
||||
0,
|
||||
);
|
||||
NetSpeed get initNetSpeed => NetSpeed(
|
||||
[_initNetSpeedPart],
|
||||
|
||||
Reference in New Issue
Block a user