Ensure the SSLsplit log directory exists (#18)

This commit is contained in:
trashbo4t
2018-03-14 16:13:01 -04:00
committed by Sebastian Kinne
parent 5d005e4ba2
commit 59e27d303e
3 changed files with 10 additions and 2 deletions

View File

@@ -8,6 +8,10 @@ MYTIME=`date +%s`
killall sslsplit
if [ ! -d /pineapple/modules/SSLsplit/log ]; then
mkdir /pineapple/modules/SSLsplit/log
fi
if [ "$1" = "start" ]; then
echo '1' > /proc/sys/net/ipv4/ip_forward