Update l2tp_backbone.sh.exit.j2
This commit is contained in:
parent
1ef6bd8b52
commit
3abe240a97
@ -20,7 +20,6 @@ octet3rd="255"
|
|||||||
# CIDR muss /16 sein
|
# CIDR muss /16 sein
|
||||||
localserver=$(/bin/hostname)
|
localserver=$(/bin/hostname)
|
||||||
batadv=/usr/local/sbin/batadv-vis
|
batadv=/usr/local/sbin/batadv-vis
|
||||||
alfred=/usr/local/sbin/alfred
|
|
||||||
batctl=/usr/local/sbin/batctl
|
batctl=/usr/local/sbin/batctl
|
||||||
ip=/sbin/ip
|
ip=/sbin/ip
|
||||||
dig=/usr/bin/dig
|
dig=/usr/bin/dig
|
||||||
@ -48,10 +47,7 @@ $ip link set up dev bat0
|
|||||||
$ip addr add $communitynetwork.$octet3rd.${localserver#$communityname}/16 broadcast $communitynetwork.255.255 dev bat0
|
$ip addr add $communitynetwork.$octet3rd.${localserver#$communityname}/16 broadcast $communitynetwork.255.255 dev bat0
|
||||||
$ip -6 addr add $communitynetworkv6$octet3rd:${localserver#$communityname}/64 dev bat0
|
$ip -6 addr add $communitynetworkv6$octet3rd:${localserver#$communityname}/64 dev bat0
|
||||||
|
|
||||||
/usr/bin/killall alfred
|
|
||||||
/usr/bin/killall batadv-vis
|
/usr/bin/killall batadv-vis
|
||||||
/bin/sleep 5
|
|
||||||
$alfred -i bat0 > /dev/null 2>&1 &
|
|
||||||
/bin/sleep 15
|
/bin/sleep 15
|
||||||
$batadv -i bat0 -s > /dev/null 2>&1 &
|
$batadv -i bat0 -s > /dev/null 2>&1 &
|
||||||
#/bin/systemctl restart isc-dhcp-server
|
#/bin/systemctl restart isc-dhcp-server
|
||||||
|
Loading…
Reference in New Issue
Block a user