Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
privoxy
privoxy-3.0.16-networkmanager.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File privoxy-3.0.16-networkmanager.patch of Package privoxy
--- privoxy_nm +++ privoxy_nm @@ -0,0 +1,20 @@ +#! /bin/sh +# +# privoxy - rerun privoxy in response to interface change +# +# Ladislav Michnovic <lmichnovic@suse.cz> +# This script should go into /etc/NetworkManager/dispatcher.d/ directory. +. /etc/rc.status + +case "$2" in + up) + #if privoxy is running or is activated in some runlevel restart it + ( checkproc /usr/sbin/privoxy || rc_active privoxyd ) && /etc/init.d/privoxyd restart + ;; + down) + ( checkproc /usr/sbin/privoxy || rc_active privoxyd ) && /etc/init.d/privoxyd restart + ;; + *) + exit 0 + ;; +esac +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor