neutrino: deactivate compatibility code in ExitRun(); ...

our start script is aligned to new exit code 2
see cd1328c41c


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3447a3d665
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-21 (Tue, 21 Nov 2017)

Origin message was:
------------------
- neutrino: deactivate compatibility code in ExitRun(); ...

our start script is aligned to new exit code 2
see cd1328c41c


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-21 11:58:25 +01:00
parent 5b657b84ec
commit 16375439bc

View File

@@ -4040,6 +4040,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
if (!do_exiting)
return;
#if 0
/*
For compatibility: /tmp/.reboot is not really needed anymore
if we use the defined exit code 2 instead of this flagfile.
@@ -4053,6 +4054,7 @@ void CNeutrinoApp::ExitRun(int exit_code)
}
else
unlink("/tmp/.reboot");
#endif
printf("[neutrino] %s(int %d)\n", __func__, exit_code);
printf("[neutrino] hw_caps->can_shutdown: %d\n", g_info.hw_caps->can_shutdown);