diff options
Diffstat (limited to 'startscript.erl')
-rw-r--r-- | startscript.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/startscript.erl b/startscript.erl index 8d6251e..fb1426f 100644 --- a/startscript.erl +++ b/startscript.erl @@ -72,5 +72,12 @@ start() -> devicemon:start(), runrange(1,1,fun (Addr)->spawnscanner(Addr) end). +starttrap() -> + start(), + receive + after infinity -> + ok + end. + test() -> portman:start({"127.0.0.1",5575}). |