Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (6 sloc) 178 Bytes
#!/bin/bash
test -s /etc/webc/id || exit
id="$(cat /etc/webc/id)"
f="/tmp/log.tar.bz2"
tar cvfj "$f" /var/log
curl -F id="$id" -F f=@$f http://support.webconverger.com/?id="$id"