Skip to content

Commit

Permalink
Reboot from console menu. No need pending timeout. #706
Browse files Browse the repository at this point in the history
  • Loading branch information
jorikfon committed Apr 23, 2024
1 parent c50498f commit 6311012
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Core/System/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,17 @@ public static function reboot(): void
Processes::mwExec("{$pbx_reboot} > /dev/null 2>&1");
}

/**
* Reboots the system after calling system_reboot_cleanup()
* @deprecated Use System::reboot() instead.
* @return void
*/
public static function rebootSync(): void
{
System::reboot();
}


/**
* Shutdown the system.
*/
Expand Down

0 comments on commit 6311012

Please sign in to comment.