02-08-2019, 10:56 AM
Rikardo
SQLDB=/var/local/www/db/moode-sqlite3.db
# set cpu govenor
RESULT=$(sqlite3 $SQLDB "select value from cfg_system where param='cpugov'")
echo "$RESULT" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
/usr/bin/udisks-glue > /dev/null 2>&1
/var/www/command/worker.php > /dev/null 2>&1
sudo bash /home/pi/sds.sh &
exit 0
is this correct
SQLDB=/var/local/www/db/moode-sqlite3.db
# set cpu govenor
RESULT=$(sqlite3 $SQLDB "select value from cfg_system where param='cpugov'")
echo "$RESULT" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
/usr/bin/udisks-glue > /dev/null 2>&1
/var/www/command/worker.php > /dev/null 2>&1
sudo bash /home/pi/sds.sh &
exit 0
is this correct