summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/bridge/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def2
-rw-r--r--templates/interfaces/tunnel/node.tag/dhcp-interface/node.def2
-rw-r--r--templates/service/dns/forwarding/dhcp/node.def2
15 files changed, 15 insertions, 15 deletions
diff --git a/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def b/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
index 225bd926..d25533f9 100644
--- a/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
@@ -27,7 +27,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def
index 86b5560f..d6fea411 100644
--- a/templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
index ef4c13ad..0be14824 100644
--- a/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def
index 81e7055d..41975dea 100644
--- a/templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def b/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def
index 225bd926..d25533f9 100644
--- a/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def
@@ -27,7 +27,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def b/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def
index 225bd926..d25533f9 100644
--- a/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def
@@ -27,7 +27,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
index 31237d3b..9116b354 100644
--- a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$ifname.conf
+ conffile=/var/lib/dhcp/dhclient_v6_$ifname.conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
index c5ecf92a..ddebe05b 100644
--- a/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$ifname.conf
+ conffile=/var/lib/dhcp/dhclient_v6_$ifname.conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
index 31237d3b..9116b354 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$ifname.conf
+ conffile=/var/lib/dhcp/dhclient_v6_$ifname.conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def b/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def
index 225bd926..d25533f9 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def
@@ -27,7 +27,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
index 86b5560f..d6fea411 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
index ef4c13ad..0be14824 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
index 86b5560f..d6fea411 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def
@@ -26,7 +26,7 @@ end:
exit 0
fi
- conffile=/var/lib/dhcp3/dhclient_v6_$VAR(../@).conf
+ conffile=/var/lib/dhcp/dhclient_v6_$VAR(../@).conf
if [ ! -e $conffile ]; then
echo "Conf file $conffile doesn't exist"
exit 0
diff --git a/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def b/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
index 60fbae34..de0450d7 100644
--- a/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
+++ b/templates/interfaces/tunnel/node.tag/dhcp-interface/node.def
@@ -2,7 +2,7 @@ type: txt
help: DHCP interface that supplies the local IP address for this tunnel
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* /var/lib/dhcp3/bond* ) ;
+ array=( /var/lib/dhcp/eth* /var/lib/dhcp/br* /var/lib/dhcp/bond* ) ;
echo -n ${array[@]##*/}
create:
sudo /opt/vyatta/sbin/vyatta-update-tunnel.pl --interface=$VAR(@) --tunnel=$VAR(../@) --option=create
diff --git a/templates/service/dns/forwarding/dhcp/node.def b/templates/service/dns/forwarding/dhcp/node.def
index 700f703e..f19b000e 100644
--- a/templates/service/dns/forwarding/dhcp/node.def
+++ b/templates/service/dns/forwarding/dhcp/node.def
@@ -4,5 +4,5 @@ help: Use nameservers received from DHCP server for specified interface
commit:expression: exec "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --dhcp-interface $VAR(@)"
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
+ array=( /var/lib/dhcp/eth* /var/lib/dhcp/br* ) ;
echo -n ${array[@]##*/}