no sudo
This commit is contained in:
parent
1fb41e1cde
commit
159191aec1
|
|
@ -1,6 +1,6 @@
|
|||
// Reboot the whole computer! Careful!
|
||||
export default async function reboot() {
|
||||
setTimeout(async () => await Bun.$`/usr/bin/sudo /bin/systemctl start nose-reboot.service`, 1000)
|
||||
setTimeout(async () => await Bun.$`/bin/systemctl start nose-reboot.service`, 1000)
|
||||
|
||||
return {
|
||||
text: "Rebooting... This will take about 10 seconds.",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user