Fix variable name
diff --git a/xos/synchronizers/vcpe/templates/rc.local.j2 b/xos/synchronizers/vcpe/templates/rc.local.j2
index 3256b77..4226a48 100755
--- a/xos/synchronizers/vcpe/templates/rc.local.j2
+++ b/xos/synchronizers/vcpe/templates/rc.local.j2
@@ -14,7 +14,7 @@
 ufw enable
 ufw allow bootps
 ufw allow from 192.168.0.0/24
-{% if setup == "enabled" %}
+{% if status == "enabled" %}
 ufw route allow in on eth1 out on eth0
 ufw route allow in on eth1 out on eth2
 {% else %}