Commit 8be6b861 authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

bugfix

parent 892895e8
...@@ -57,7 +57,10 @@ function conf_backup () ...@@ -57,7 +57,10 @@ function conf_backup ()
IFS=$'\n' IFS=$'\n'
for next in `cat $filename` for next in `cat $filename`
do do
if [[ $next != \#* ]]; then
echo $next
[[ -f $next || -d $next ]] && echo "$next" >> $tmpfilename [[ -f $next || -d $next ]] && echo "$next" >> $tmpfilename
fi
done done
tar cvPfz $COPY_TO/$FILEBACKUPNAME-allfiles.tgz -T $tmpfilename --exclude='*.sock' &> /dev/null tar cvPfz $COPY_TO/$FILEBACKUPNAME-allfiles.tgz -T $tmpfilename --exclude='*.sock' &> /dev/null
service samba start &> /dev/null service samba start &> /dev/null
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment