summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/bonding/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/bonding/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/bonding/node.tag/vif/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/bridge/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif-s/node.tag/vif-c/node.tag/dhcpv6-options/node.def3
-rw-r--r--templates/interfaces/pseudo-ethernet/node.tag/vif/node.tag/dhcpv6-options/node.def3
13 files changed, 39 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def b/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
index 87e69255..225bd926 100644
--- a/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bonding/node.tag/dhcpv6-options/node.def
@@ -44,6 +44,9 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
echo "Done."
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 947bc5de..86b5560f 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 a3de12ce..ef4c13ad 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 9cf861b4..81e7055d 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 87e69255..225bd926 100644
--- a/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/bridge/node.tag/dhcpv6-options/node.def
@@ -44,6 +44,9 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
echo "Done."
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 87e69255..225bd926 100644
--- a/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/ethernet/node.tag/dhcpv6-options/node.def
@@ -44,6 +44,9 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
echo "Done."
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 947bc5de..86b5560f 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 a3de12ce..ef4c13ad 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 947bc5de..86b5560f 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 87e69255..225bd926 100644
--- a/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def
+++ b/templates/interfaces/pseudo-ethernet/node.tag/dhcpv6-options/node.def
@@ -44,6 +44,9 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
echo "Done."
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 947bc5de..86b5560f 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 a3de12ce..ef4c13ad 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
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 947bc5de..86b5560f 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
@@ -43,5 +43,8 @@ end:
echo "Re-starting DHCPv6 client on ${ifname}..."
sudo /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --start \
--ifname $ifname $arg1 $arg2
+ if [ $? != 0 ]; then
+ exit 1
+ fi
exit 0