forked from p15670423/monkey
GC-5050: added execution script
This commit is contained in:
parent
047939b80d
commit
013c87f478
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MACHINE_TYPE=`uname -m`
|
||||||
|
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
||||||
|
# 64-bit stuff here
|
||||||
|
ARCH=64
|
||||||
|
|
||||||
|
else
|
||||||
|
# 32-bit stuff here
|
||||||
|
ARCH=32
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
MONKEY_FILE=monkey-linux-$ARCH
|
||||||
|
cp -f ./cc/binaries/$MONKEY_FILE /tmp
|
||||||
|
/tmp/$MONKEY_FILE m0nk3y
|
Loading…
Reference in New Issue