|
@@ -51,9 +51,10 @@
|
|
|
|
|
|
// get config name (optionally pass to script, 1st arg)
|
|
|
$config = !empty($argv[1]) ? $argv[1] : "";
|
|
|
+ $author = !empty($argv[2]) ? $argv[2] : "";
|
|
|
|
|
|
// get validity time (optionally pass to script, 2nd arg)
|
|
|
- $ts = !empty($argv[2]) ? $argv[2] : date('Y-m-d H:i:s', $time);
|
|
|
+ $ts = !empty($argv[3]) ? $argv[3] : date('Y-m-d H:i:s', $time);
|
|
|
|
|
|
// include channel list
|
|
|
//include "SDS_status_channels.php";
|
|
@@ -246,7 +247,7 @@
|
|
|
foreach ($relationKatrinNumbers[$eastwest] as $kn) {
|
|
|
$json['relation'][$kn] = array();
|
|
|
$json['relation'][$kn]['ValidityStart'] = $ts;
|
|
|
- $json['relation'][$kn]['Comment'] = "Patchpanel configuration: " . $config;
|
|
|
+ $json['relation'][$kn]['Comment'] = $config . " (" . $author . ")";
|
|
|
|
|
|
$index = $check[$ch++];
|
|
|
assert($index >= 0 and $index <= 22);
|