test bug fix
This commit is contained in:
parent
45c497a5d0
commit
393a737333
@ -88,9 +88,13 @@ fi
|
|||||||
mkdir /tmp/output/vpn/scripts
|
mkdir /tmp/output/vpn/scripts
|
||||||
|
|
||||||
echo '#!/bin/sh
|
echo '#!/bin/sh
|
||||||
|
printenv
|
||||||
|
echo "$TAP"
|
||||||
ifconfig $TAP $ip netmask 255.255.255.0 up' > /tmp/output/vpn/scripts/starttap.sh
|
ifconfig $TAP $ip netmask 255.255.255.0 up' > /tmp/output/vpn/scripts/starttap.sh
|
||||||
|
|
||||||
echo '#!/bin/sh
|
echo '#!/bin/sh
|
||||||
|
printenv
|
||||||
|
echo "$TAP"
|
||||||
ip -s -s neigh flush all dev $TAP' > /tmp/output/vpn/scripts/arpinggw.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
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
ifconfig > /tmp/ifconfig
|
ifconfig > /tmp/ifconfig
|
||||||
cat /proc/cmdline > /tmp/cmdline
|
cat /proc/cmdline > /tmp/cmdline
|
||||||
tar -cvf /tmp/zalacznik.tar /tmp/cmdline /tmp/ifconfig
|
tar -cJf /tmp/zalacznik.tar /tmp/cmdline /tmp/ifconfig
|
||||||
xz -v /tmp/zalacznik.tar
|
xz -v /tmp/zalacznik.tar
|
||||||
|
|
||||||
MAILFILE=`mktemp /tmp/mailfile.XXXXXX`
|
MAILFILE=`mktemp /tmp/mailfile.XXXXXX`
|
||||||
|
Loading…
Reference in New Issue
Block a user