#!/bin/sh
#
# modified by Fernand Jonker 14-05-2003 for use with IP-Cop 1.3.x and DG 2.6.1

mkdir /tmp/dg-2.6.1
tar -zxvf ./dg-2.6.1.tar.gz -C /tmp/dg-2.6.1/
cd /tmp/dg-2.6.1
clear
echo "Step 1, Installing the DansGuardian Files"
./install-dg-on-ipcop.sh
echo "Step 2, Backing Up IPCop System Files"
./backup-ipcop.sh
echo "Step 3, Patching IPCop System Files"
./patch-ipcop-dg.pl
rm -R /tmp/dg-2.6.1
echo "DansGuardian Setup Complete"
