fwknop/extras/ramdisk/ramdisk-create.sh
2015-03-30 21:38:31 -04:00

9 lines
172 B
Bash
Executable File

#!/bin/sh -x
RAMDISK=/tmp/afl-ramdisk
mkdir $RAMDISK && chmod 777 $RAMDISK
mount -t tmpfs -o size=768M tmpfs $RAMDISK
cd ../.. && git clone . $RAMDISK/fwknop.git
exit $?