#!/bin/bash
#
# send_scclconf
# sendet /etc/sccl als etc_sccl.tbz
#######################################################
#
if [[ $# -lt 2 ]]
 then
  set `date '+%F %H:%M:00%:z'`
fi
#
DT="$1 $2"
TZ="$3"
#
OUTFILE=/tmp/etc_sccl.tbz
#
if [[ -d /etc/sccl ]]
 then
  cd /etc
  tar cfj $OUTFILE sccl
  if [[ -f $OUTFILE ]]
   then
    send_server_doku SCCL-Config "Inhalt des Verzeichnisses /etc/sccl." $DT $OUTFILE
  fi
fi
