2006-11-29 13:29:23 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2011-11-15 03:40:56 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
|
|
|
2007-05-10 10:38:53 +00:00
|
|
|
START=50
|
2011-11-15 03:40:56 +00:00
|
|
|
STOP=50
|
2007-03-26 04:23:10 +00:00
|
|
|
|
2011-11-15 03:40:56 +00:00
|
|
|
SERVICE_USE_PID=1
|
2006-11-29 13:29:23 +00:00
|
|
|
|
|
|
|
start() {
|
2011-11-15 03:40:56 +00:00
|
|
|
service_start /usr/sbin/privoxy --pidfile /var/run/privoxy.pid \
|
|
|
|
/etc/privoxy/config
|
2006-11-29 13:29:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
2011-11-15 03:40:56 +00:00
|
|
|
service_stop /usr/sbin/privoxy
|
2006-11-29 13:29:23 +00:00
|
|
|
}
|