new: remember pwd in mem

This commit is contained in:
lollipopkit
2024-03-10 19:15:24 -06:00
parent 5e9f0bf8a1
commit f187bc6ccf
17 changed files with 62 additions and 8 deletions

View File

@@ -261,6 +261,7 @@ class _ServerPageState extends State<ServerPage>
srv.client?.execWithPwd(
ShellFunc.suspend.exec,
context: context,
id: srv.id,
);
},
typ: l10n.suspend,
@@ -274,6 +275,7 @@ class _ServerPageState extends State<ServerPage>
func: () => srv.client?.execWithPwd(
ShellFunc.shutdown.exec,
context: context,
id: srv.id,
),
typ: l10n.shutdown,
name: srv.spi.name,
@@ -286,6 +288,7 @@ class _ServerPageState extends State<ServerPage>
func: () => srv.client?.execWithPwd(
ShellFunc.reboot.exec,
context: context,
id: srv.id,
),
typ: l10n.reboot,
name: srv.spi.name,