From 46b1933a7cb6c50ffb4fdd0cb07cbb757b046bf3 Mon Sep 17 00:00:00 2001 From: stebifan Date: Sun, 28 Feb 2016 11:55:38 +0100 Subject: [PATCH] Added radvd --- files/keepalive.exit.sh.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/keepalive.exit.sh.j2 b/files/keepalive.exit.sh.j2 index 332a61a..abc1cc7 100644 --- a/files/keepalive.exit.sh.j2 +++ b/files/keepalive.exit.sh.j2 @@ -35,12 +35,14 @@ then /usr/sbin/service bird6 stop /usr/sbin/service bird stop /usr/sbin/service tunneldigger stop + /usr/sbin/service radvd stop else echo "First Supernode not running, activating backup Supernode" $BATCTL gw server 100Mbit/100Mbit /usr/sbin/service bird6 start /usr/sbin/service bird start /usr/sbin/service tunneldigger start + /usr/sbin/service radvd start curl -X POST --data-urlencode 'payload={"text": "troisdorf5 nicht pingbar. troisdorf6 eingeschaltet", "channel": "#technik", "username": "troisdorf6", "icon_emoji": ":floppy_disk:"}' https://hooks.slack.com/services/{{ slack_token }} fi else @@ -53,12 +55,14 @@ else /usr/sbin/service bird6 start /usr/sbin/service bird start /usr/sbin/service tunneldigger start + /usr/sbin/service radvd start else echo "Supernode nicht pingbar" $BATCTL gw off /usr/sbin/service bird6 start /usr/sbin/service bird start /usr/sbin/service tunneldigger start + /usr/sbin/service radvd start curl -X POST --data-urlencode 'payload={"text": "troisdorf6 nicht pingbar. services auf troisdorf6 neu gestartet", "channel": "#technik", "username": "troisdorf6", "icon_emoji": ":floppy_disk:"}' https://hooks.slack.com/services/{{ slack_token }} fi fi