From 2995895c2005c0a764b67230c67045e6fe7ca6f5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 24 May 2013 16:35:03 +0200 Subject: [PATCH] Fix up script --- root/etc/openvpn/routed/bin/up | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/openvpn/routed/bin/up b/root/etc/openvpn/routed/bin/up index 267346e..69fec71 100644 --- a/root/etc/openvpn/routed/bin/up +++ b/root/etc/openvpn/routed/bin/up @@ -23,9 +23,9 @@ net=$(/sbin/e-smith/db configuration getprop openvpn-routed Network) addr=${net%%/*} mask=${net#*/} -db=$(/sbin/e-smith/db networks getprop $addr RoutedVPN) +db=$(/sbin/e-smith/db networks getprop $addr VPNRouted) if [ -z $db ]; then /sbin/e-smith/db networks set $addr network Mask $mask VPNRouted yes Removable no /sbin/e-smith/signal-event network-create $addr fi - +exit 0