fixed: print the off command at start first
This commit is contained in:
parent
3caab43192
commit
aab12e0ed0
1 changed files with 3 additions and 0 deletions
|
@ -129,7 +129,10 @@ bool CAmpSwitch::Setup()
|
||||||
void CAmpSwitch::Process()
|
void CAmpSwitch::Process()
|
||||||
{
|
{
|
||||||
if (m_offcommand)
|
if (m_offcommand)
|
||||||
|
{
|
||||||
|
printf("switching off, executing \"%s\"\n", m_offcommand);
|
||||||
system(m_offcommand);
|
system(m_offcommand);
|
||||||
|
}
|
||||||
|
|
||||||
while (!g_stop)
|
while (!g_stop)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue