X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=blootbot;h=4ef62d5f1dfe4128bc441c6516c857cc773ca5d8;hb=47710b9f2eadb20ecd7a87a5606bfc23be4dbfd5;hp=f39ba08b83bb390f1794e593c549f5853f937670;hpb=b503db8e3c8a89233c63ef8942a66d328c50ec10;p=infobot.git diff --git a/blootbot b/blootbot index f39ba08..4ef62d5 100755 --- a/blootbot +++ b/blootbot @@ -5,13 +5,11 @@ use strict; use vars qw($bot_base_dir $bot_src_dir $bot_misc_dir $bot_state_dir - $bot_data_dir $bot_config_dir $bot_log_dir $bot_run_dir - $bot_pid $memusage %param $fhs + $bot_data_dir $bot_config_dir $bot_log_dir $bot_run_dir + $bot_pid $memusage %param ); BEGIN { - $fhs = 0; - if (@ARGV and -f $ARGV[0]) { # source passed config to allow $bot_*_dir to be set. do $ARGV[0]; @@ -31,7 +29,6 @@ BEGIN { require "$bot_src_dir/logger.pl"; require "$bot_src_dir/core.pl"; - require "$bot_src_dir/interface.pl"; require "$bot_src_dir/modules.pl"; # load the configuration (params) file. @@ -50,7 +47,7 @@ BEGIN { # prevent duplicate processes of the same bot &duperuncheck(); -# initialize everything +# initialize everything &startup(); # first time initialization. &setup(); @@ -65,9 +62,7 @@ exit 0; # just so you don't look farther down in this file :) # --- support routines -# FIXME. -# add arguments, basically '-h' and '--help', heh. -# +# FIXME: add arguments, basically '-h' and '--help', heh. # added by the xk sub duperuncheck {