#!/bin/bash

basepath="/ifs/data/log"
mkdir -p $basepath
chmod 600 $basepath

if ! [ -s $basepath/files ]; then
	isi_ropc -s `echo -e "/var/log/messages\n/var/log/isi_zsh.log" >$basepath/files`
fi


for f in `cat $basepath/files`; do
	gather_string="$gather_string -f $f"
done

isi_gather_info --tardir $basepath --noupload --nologs $gather_string

