add data source for openvt
parent
386bb0ffa8
commit
6efa5ad2fc
@ -0,0 +1,10 @@
|
||||
{
|
||||
"functions": {
|
||||
"sudo": [
|
||||
{
|
||||
"description": "The command execution is blind (displayed on the virtual console), but it is possible to save the output on a temporary file.",
|
||||
"code": "TF=$(mktemp -u)\nsudo openvt -- sh -c \"[command] >$TF 2>&1\"\ncat $TF\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue