mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
0beaa56314
commit
e718db8009
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user