mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 20:23:01 +02:00
klish: add reboot and poweroff commands, for usability
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
ecc24d13cb
commit
d6eca354b3
@@ -92,6 +92,14 @@
|
||||
<ACTION sym="prompt" exec_on="always">%u@%h:exec> </ACTION>
|
||||
</PROMPT>
|
||||
|
||||
<COMMAND name="poweroff" help="Poweroff system (system policy may yield reboot)">
|
||||
<ACTION sym="script">poweroff</ACTION>
|
||||
</COMMAND>
|
||||
|
||||
<COMMAND name="reboot" help="Reboot system">
|
||||
<ACTION sym="script">reboot</ACTION>
|
||||
</COMMAND>
|
||||
|
||||
<COMMAND name="shell" help="Enter system shell">
|
||||
<ACTION sym="script" interactive="true">/bin/sh -l</ACTION>
|
||||
</COMMAND>
|
||||
|
||||
Reference in New Issue
Block a user