In tx1,I run the script of jetson_clocks.sh to raise cpu and gpu clock.
But it print “Error: Please run the script afer 36 seconds,otherwise ubuntu init script may override the clock settings!” .
Then I find there is a line “check_uptime” in main function,which allow running jetson_clocks.sh when the value of “/proc/uptime” is greater than 90. Does the clock of cpu and gpu could be raised when I commit out the line “check_uptime” ?
if [ -e “/proc/uptime” ]; then
cat /proc/uptime | cut -d '.' -f1
if [ $((uptime)) -lt 90 ]; then printf "Error: Please run the script after $((90 - uptime)) Seconds, \
\notherwise ubuntu init script may override the clock settings!\n"
printf “Warning: Could not check system uptime. Please make sure that you run the script 90 Seconds after bootup,
\notherwise ubuntu init script may override the clock settings!\n”
whoami != root ] && echo Error: Run this script(0\) as a root user && exit 1
Thank you very much!