/[gentoo-x86]/net-misc/openvpn/files/down.sh
Gentoo

Diff of /net-misc/openvpn/files/down.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
18 cp /etc/resolv.conf-"${dev}".sv /etc/resolv.conf 18 cp /etc/resolv.conf-"${dev}".sv /etc/resolv.conf
19 rm -f /etc/resolv.conf-"${dev}".sv 19 rm -f /etc/resolv.conf-"${dev}".sv
20 fi 20 fi
21fi 21fi
22 22
23if [ -n "${SVCNAME}" ]; then
23# Re-enter the init script to start any dependant services 24 # Re-enter the init script to start any dependant services
24if /etc/init.d/"${SVCNAME}" --quiet status ; then 25 if /etc/init.d/"${SVCNAME}" --quiet status ; then
25 export IN_BACKGROUND=true 26 export IN_BACKGROUND=true
26 /etc/init.d/"${SVCNAME}" --quiet stop 27 /etc/init.d/"${SVCNAME}" --quiet stop
28 fi
27fi 29fi
28 30
29exit 0 31exit 0
30 32
31# vim: ts=4 : 33# vim: ts=4 :

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20