update.new

ds2.1.1/lib/secure/daemon/update.new · 275 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

#include <lib.h>

inherit LIB_DAEMON;

string *deleta;

static void eventUpdate() {
mkdir("/secure/log/bak");
rename("/secure/daemon/update.blank","/secure/daemon/update.c");
destruct();
}

static void create() {
    daemon::create();
    call_out((: eventUpdate :), 60);
}

Site Stats

Snippets: 1791
Codebases: 571