mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 01:09:47 +00:00
configDB - prepare import/export
git-svn-id: https://svn.fhem.de/fhem/trunk@5266 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
668d500d59
commit
309d74e78b
@ -191,6 +191,7 @@ sub CommandConfigdb($$) {
|
||||
}
|
||||
|
||||
when ('import') {
|
||||
return "\n Syntax: configdb import <sourceFilename>" if @a != 2;
|
||||
open ( FILE, "<./$param1" );
|
||||
my @dbconfig = <FILE>;
|
||||
close ( FILE );
|
||||
@ -238,6 +239,8 @@ sub CommandConfigdb($$) {
|
||||
" configdb attr [attribute] [value]\n".
|
||||
" configdb backup\n".
|
||||
" configdb diff <device> <version>\n".
|
||||
" configdb export <targetFilename> [version]".
|
||||
" configdb import <importFilename>".
|
||||
" configdb info\n".
|
||||
" configdb list [device] [version]\n".
|
||||
" configdb migrate\n".
|
||||
|
Loading…
Reference in New Issue
Block a user