Fix up script

This commit is contained in:
Daniel Berteaud 2013-05-24 16:35:03 +02:00
parent 69aa3d3988
commit 2995895c20
1 changed files with 2 additions and 2 deletions

View File

@ -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