try again

This commit is contained in:
Chris Wanstrath 2025-10-06 20:18:34 -07:00
parent 82dcc593a7
commit 1fb41e1cde

View File

@ -1,6 +1,6 @@
// Reboot the whole computer! Careful!
export default async function reboot() {
setTimeout(async () => await Bun.$`/bin/systemd-run --uid=0 --gid=0 /sbin/reboot`, 1000)
setTimeout(async () => await Bun.$`/usr/bin/sudo /bin/systemctl start nose-reboot.service`, 1000)
return {
text: "Rebooting... This will take about 10 seconds.",