#!/bin/sh
ROYALE_DIR=/royale_exp

echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu6/cpufreq/scaling_governor
#echo "performance" > /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor

export LD_LIBRARY_PATH=$ROYALE_DIR
echo "Starting Artik Camera Capture Service"
$ROYALE_DIR/sample2
