try more
This commit is contained in:
parent
af593a3c0c
commit
82dcc593a7
|
|
@ -1,6 +1,6 @@
|
|||
// Reboot the whole computer! Careful!
|
||||
export default async function reboot() {
|
||||
setTimeout(async () => await Bun.$`/sbin/reboot -f`, 1000)
|
||||
setTimeout(async () => await Bun.$`/bin/systemd-run --uid=0 --gid=0 /sbin/reboot`, 1000)
|
||||
|
||||
return {
|
||||
text: "Rebooting... This will take about 10 seconds.",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user