Skip to content

Commit

Permalink
Вернул вызов pbx_reboot;
Browse files Browse the repository at this point in the history
  • Loading branch information
boffart committed May 13, 2024
1 parent 2e5f851 commit 4dc9065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Core/System/RootFS/sbin/pbx_firmware
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ if [ -f /offload/livecd ]; then
echo " - Restoring the MikoPBX default configuration ..."
/bin/busybox cp -pv /tmp/configbak/* /conf.recover/conf/ | /bin/busybox awk '{print "\t" $0}'
touch /tmp/ejectcd
echoToTeletype " - rebooting system..."
/sbin/pbx_reboot;
else
# Format the 3rd partition and mount it as /cf. Then, copy the configuration back and remove the image file
echo " - Format the 3rd partition (${partition3Name}) and mount it as /cf folder ...";
Expand Down

0 comments on commit 4dc9065

Please sign in to comment.