| 1 |
/*******************************************************/ |
/*******************************************************/ |
| 2 |
/* */ |
/* */ |
| 3 |
/* LeafOK Innbbsd */ |
/* LeafOK Innbbsd */ |
| 4 |
/* Copyright (C) LeafOK.com, 2003-2004 */ |
/* Copyright (C) LeafOK.com, 2003-2005 */ |
| 5 |
/* */ |
/* */ |
| 6 |
/* Programmed by Leaf */ |
/* Programmed by Leaf */ |
| 7 |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
/* E-mail:leaflet@leafok.com QQ:6049044 */ |
| 426 |
|
|
| 427 |
void controld::StartupDelay(void) |
void controld::StartupDelay(void) |
| 428 |
{ |
{ |
| 429 |
|
syslog << logfile::log_head << "Startup delay for " << |
| 430 |
|
this->startup_delay << " seconds"<< endl; |
| 431 |
|
|
| 432 |
Sleep(this->startup_delay * 1000); |
Sleep(this->startup_delay * 1000); |
| 433 |
} |
} |
| 434 |
|
|
| 498 |
|
|
| 499 |
return 0; |
return 0; |
| 500 |
} |
} |
| 501 |
|
|
| 502 |
|
bool controld::check_priv(void) |
| 503 |
|
{ |
| 504 |
|
return this->access.control; |
| 505 |
|
} |