From d66b9396e182fda414eaf994884b6244caa00204 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 29 Sep 2015 11:21:01 +0200 Subject: [PATCH] Set default network in the up script --- root/etc/openvpn/routed/bin/up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/openvpn/routed/bin/up b/root/etc/openvpn/routed/bin/up index 5be80b7..a9bf5f8 100644 --- a/root/etc/openvpn/routed/bin/up +++ b/root/etc/openvpn/routed/bin/up @@ -1,6 +1,6 @@ #!/bin/bash -net=$(/sbin/e-smith/db configuration getprop openvpn-routed Network) +net=$(/sbin/e-smith/db configuration getprop openvpn-routed Network || echo '192.168.29.0/255.255.255.0') addr=${net%%/*} mask=${net#*/}