Added global SAVE trigger

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2013-03-04 19:58:34 +00:00
parent 48d7ce2d46
commit 78067a3a6a

View File

@@ -1031,6 +1031,8 @@ CommandSave($$)
my ($cl, $param) = @_;
my $ret = "";
DoTrigger("global", "SAVE", 1);
WriteStatefile();
$param = $attr{global}{configfile} if(!$param);