#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org
START=50

CFG_F=/etc/privoxy/config
RUN_D=/var/run
PID_F=$RUN_D/privoxy.pid

start() {
	mkdir -p $RUN_D
	/usr/sbin/privoxy --pidfile $PID_F $CFG_F
}

stop() {
	[ -f $PID_F ] && kill $(cat $PID_F)
}
