bug
This commit is contained in:
parent
22bcedd3a5
commit
45c497a5d0
@ -86,15 +86,12 @@ if [ -n "$msmtp_conf" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir /tmp/output/vpn/scripts
|
mkdir /tmp/output/vpn/scripts
|
||||||
cat <<EOF> /tmp/output/vpn/scripts/starttap.sh
|
|
||||||
#!/bin/sh
|
|
||||||
ifconfig '$TAP' $ip netmask 255.255.255.0 up
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cat <<EOF> /tmp/output/vpn/scripts/arpinggw.sh
|
echo '#!/bin/sh
|
||||||
#!/bin/sh
|
ifconfig $TAP $ip netmask 255.255.255.0 up' > /tmp/output/vpn/scripts/starttap.sh
|
||||||
ip -s -s neigh flush all dev '$TAP'
|
|
||||||
EOF
|
echo '#!/bin/sh
|
||||||
|
ip -s -s neigh flush all dev $TAP' > /tmp/output/vpn/scripts/arpinggw.sh
|
||||||
|
|
||||||
chmod +x /tmp/output/vpn/scripts/starttap.sh
|
chmod +x /tmp/output/vpn/scripts/starttap.sh
|
||||||
chmod +x /tmp/output/vpn/scripts/arpinggw.sh
|
chmod +x /tmp/output/vpn/scripts/arpinggw.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user