This commit is contained in:
Chris Wanstrath 2025-10-06 20:09:34 -07:00
parent bdac753f8f
commit af593a3c0c

View File

@ -1,6 +1,6 @@
// Reboot the whole computer! Careful!
export default async function reboot() {
setTimeout(async () => await Bun.$`/sbin/reboot`, 1000)
setTimeout(async () => await Bun.$`/sbin/reboot -f`, 1000)
return {
text: "Rebooting... This will take about 10 seconds.",