set -e
-. ./common.sh
+# . ./common.sh
+IPTABLES=$(which iptables)
+IP6TABLES=$(which ip6tables)
+IPSET=$(which ipset)
+TC=$(which tc)
if [ $# -lt 1 ]
then
if ! $IP6TABLES -t mangle -L "${SHAPE_CHAIN}" >/dev/null 2>&1
then
echo "initializing ipv6 chain '${SHAPE_CHAIN}'"
- $iP6TABLES -t mangle -N "${SHAPE_CHAIN}"
+ $IP6TABLES -t mangle -N "${SHAPE_CHAIN}"
fi
# prioritize small and responsive things