2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

reloading of modules disabled

git-svn-id: https://svn.fhem.de/fhem/trunk@2170 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs 2012-11-23 19:49:07 +00:00
parent 0beaa56314
commit e718db8009

View File

@ -1,5 +1,6 @@
################################################################
# $Id$
# vim: ts=2:et
#
# (c) 2012 Copyright: Martin Fischer (m_fischer at gmx dot de)
# All rights reserved
@ -539,16 +540,17 @@ update_GetRemoteFiles($$$)
}
if (!$newFhem && @reloadModules) {
$ret .= "\nModule(s) reloaded:\n";
foreach my $modFile (@reloadModules) {
my $cmdret = CommandReload($cl,$modFile);
if (!$cmdret) {
Log 1, "update reloaded module: $modFile";
$ret .= "==> $modFile\n";
} else {
$ret .= "==> $modFile:\n$cmdret\n";
}
}
$ret .= "A new version of one ore more module(s) was installed, 'shutdown restart' is required!";
#$ret .= "\nModule(s) reloaded:\n";
#foreach my $modFile (@reloadModules) {
# my $cmdret = CommandReload($cl,$modFile);
# if (!$cmdret) {
# Log 1, "update reloaded module: $modFile";
# $ret .= "==> $modFile\n";
# } else {
# $ret .= "==> $modFile:\n$cmdret\n";
# }
#}
}
if ($newFhem) {
@ -868,7 +870,6 @@ update_MakeDirectory($)
return $ret;
}
# vim: ts=2:et
1;
=pod