/[smecontribs]/rpms/smeserver-openvpn-s2s/contribs7/smeserver-openvpn-s2s-0.1-set_network_non_removable.patch
ViewVC logotype

Annotation of /rpms/smeserver-openvpn-s2s/contribs7/smeserver-openvpn-s2s-0.1-set_network_non_removable.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Nov 2 16:43:51 2010 UTC (14 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: smeserver-openvpn-s2s-0_1-15_el4_sme, smeserver-openvpn-s2s-0_1-13_el4_sme, smeserver-openvpn-s2s-0_1-19_el4_sme, smeserver-openvpn-s2s-0_1-14_el4_sme, smeserver-openvpn-s2s-0_1-12_el4_sme, smeserver-openvpn-s2s-0_1-18_el4_sme, smeserver-openvpn-s2s-0_1-16_el4_sme, smeserver-openvpn-s2s-0_1-20_el4_sme, smeserver-openvpn-s2s-0_1-21_el4_sme, smeserver-openvpn-s2s-0_1-11_el4_sme, HEAD
Initial import

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-s2s-0.1/root/etc/openvpn/s2s/bin/up mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/openvpn/s2s/bin/up
2     --- smeserver-openvpn-s2s-0.1/root/etc/openvpn/s2s/bin/up 2010-10-17 16:45:23.000000000 +0200
3     +++ mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/openvpn/s2s/bin/up 2010-10-17 16:44:56.000000000 +0200
4     @@ -30,7 +30,7 @@
5     # if the network already exists in the DB, just push the route
6     /sbin/route add -net ${!net} netmask ${!mask} gw $ifconfig_remote
7     else
8     - /sbin/e-smith/db networks set ${!net} network Mask ${!mask} Router $ifconfig_remote VPN $vpnid
9     + /sbin/e-smith/db networks set ${!net} network Mask ${!mask} Router $ifconfig_remote VPN $vpnid Removable no
10     /sbin/e-smith/signal-event network-create ${!net}
11     fi
12     fi
13     @@ -40,7 +40,7 @@
14     # Check route for the VPN itself
15     db=$(/sbin/e-smith/db networks getprop $ifconfig_remote VPN)
16     if [ -z $db ]; then
17     - /sbin/e-smith/db networks set $ifconfig_remote network Mask 255.255.255.255 VPN $vpnid
18     + /sbin/e-smith/db networks set $ifconfig_remote network Mask 255.255.255.255 VPN $vpnid Removale no
19     /sbin/e-smith/signal-event network-create $ifconfig_remote
20     fi
21    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed