#!/bin/sh
if [ "$1" = "" ]
then
echo "`basename $0` Username Password (Username and Password are missing!)"
exit
fi
if [ "$2" = "" ]
then
echo "`basename $0` Username Password (Password is missing!)"
exit
fi

/usr/local/squid-addons/bin/htpasswd -b /etc/squid/squidpasswd $1 $2
