1 |
douglas |
402 |
// Spectre 2 |
2 |
|
|
// |
3 |
|
|
// Douglas Thrift |
4 |
|
|
// |
5 |
|
|
// $Id$ |
6 |
|
|
|
7 |
|
|
#include "Unmounter.hpp" |
8 |
|
|
|
9 |
douglas |
406 |
Unmounter::Unmounter(const ext::String& config) : Daemon(), config(config) {} |
10 |
douglas |
402 |
|
11 |
|
|
void Unmounter::load() |
12 |
|
|
{ |
13 |
douglas |
415 |
if (Spectre2::debug) api::Cerr << "Unmounter::load()" << ios::NewLine; |
14 |
douglas |
402 |
|
15 |
|
|
loaded = true; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
void Unmounter::run() |
19 |
|
|
{ |
20 |
douglas |
415 |
if (Spectre2::debug) api::Cerr << "Unmounter::run()" << ios::NewLine; |
21 |
douglas |
402 |
|
22 |
douglas |
407 |
::sleep(5); |
23 |
douglas |
402 |
} |