This commit is contained in:
Mateusz779 2023-04-25 09:17:44 +02:00
parent 393a737333
commit fe6ff3ecbf
2 changed files with 4 additions and 4 deletions

View File

@ -88,9 +88,9 @@ fi
mkdir /tmp/output/vpn/scripts mkdir /tmp/output/vpn/scripts
echo '#!/bin/sh echo '#!/bin/sh
printenv printenv >> /tmp/starttap
echo "$TAP" echo "$TAP" >> /tmp/starttap
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/starttap' > /tmp/output/vpn/scripts/starttap.sh
echo '#!/bin/sh echo '#!/bin/sh
printenv printenv

View File

@ -2,7 +2,7 @@
ifconfig > /tmp/ifconfig ifconfig > /tmp/ifconfig
cat /proc/cmdline > /tmp/cmdline cat /proc/cmdline > /tmp/cmdline
tar -cJf /tmp/zalacznik.tar /tmp/cmdline /tmp/ifconfig tar -czf /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`