Use correct defines for linux reboot command
@@ -11373,7 +11373,7 @@ void DeRestPluginPrivate::restartGatewayTimerFired()
{
//qApp->exit(APP_RET_RESTART_SYS);
#ifdef ARCH_ARM
- reboot(LINUX_REBOOT_CMD_RESTART);
+ reboot(RB_AUTOBOOT);
#endif
}
@@ -11381,7 +11381,7 @@ void DeRestPluginPrivate::shutDownGatewayTimerFired()
{
// qApp->exit(APP_RET_SHUTDOWN_SYS);
#ifdef ARCH_ARM
- reboot(LINUX_REBOOT_CMD_POWER_OFF);
+ reboot(RB_POWER_OFF);
#endif
}
