This commit is contained in:
Chris Wanstrath 2025-10-06 19:47:43 -07:00
parent 4fe61ee773
commit 966d14a5b1

View File

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