diff options
author | Kenneth Lundin <[email protected]> | 2010-08-09 12:29:20 +0200 |
---|---|---|
committer | Kenneth Lundin <[email protected]> | 2010-08-09 12:29:20 +0200 |
commit | 25d98219be714bf572808d66ea62bb96c2bd64e2 (patch) | |
tree | 2b73ce356e25594ced677e33d2b6e3f2c35c1cde /lib/runtime_tools/src/inviso_autostart.erl | |
parent | 0d553b45b5c3ae8287340887f271bc70f1f1370c (diff) | |
download | otp-25d98219be714bf572808d66ea62bb96c2bd64e2.tar.gz otp-25d98219be714bf572808d66ea62bb96c2bd64e2.tar.bz2 otp-25d98219be714bf572808d66ea62bb96c2bd64e2.zip |
Minor corrections and remove of temporary workaround.
Contribution by Marcus Ljungblad, Ericsson
Diffstat (limited to 'lib/runtime_tools/src/inviso_autostart.erl')
-rw-r--r-- | lib/runtime_tools/src/inviso_autostart.erl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/runtime_tools/src/inviso_autostart.erl b/lib/runtime_tools/src/inviso_autostart.erl index 134133ad1f..787292e244 100644 --- a/lib/runtime_tools/src/inviso_autostart.erl +++ b/lib/runtime_tools/src/inviso_autostart.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2006-2009. All Rights Reserved. +%% Copyright Ericsson AB 2006-2010. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -59,17 +59,10 @@ autostart(_AutoModArgs) -> case try_load_module(FileNames) of ok -> autostart_apply(M,F); + false -> % No such module available "inviso_autostart.config" end; - {ok,{gettia_asc,asc_file}} -> % Uggly hack to not have to change in GSN-CPS. - case try_load_module(["/tmp/DPE_COMMONLOG/gettia_asc", - "/tmp/DPE_COMMONLOG/gettia_overload"]) of - ok -> - autostart_apply(gettia_asc,asc_file); - false -> % No such module available - false - end; {ok,{M,F}} -> % Use M:F(node()) autostart_apply(M,F); {ok,no_autostart} -> |