Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
#!/bin/bash
process
=cfheadless
makerun
=
"python2 /home/bitcraze/projects/crazyflie-pc-client/bin/cfheadless -u radio://0/10/250K -i PS3_Mode_2"
if
ps
ax
|
grep
-v
grep
|
grep
$process
>
/
dev
/
null
then
exit
else
$makerun
&
fi
exit