#!/bin/sh #echo "123456" | sudo -S /home/zhouchao/EgoZJ/EgoSystem/build/EgoSystem #echo "看到这行字,说明添加自启动脚本成功。" > /home/zhouchao/EgoZJ/EgoSystem/build/1.log echo "gansri135" | sudo -S cpufreq-set -c 0 -g performance echo "gansri135" | sudo -S cpufreq-set -c 1 -g performance echo "gansri135" | sudo -S cpufreq-set -c 2 -g performance echo "gansri135" | sudo -S cpufreq-set -c 3 -g performance echo "gansri135" | sudo -S cpufreq-set -c 4 -g performance echo "gansri135" | sudo -S cpufreq-set -c 5 -g performance echo "gansri135" | sudo -S cpufreq-set -c 6 -g performance echo "gansri135" | sudo -S cpufreq-set -c 7 -g performance #echo "gansri135" | sudo -S cpufreq-set -c 8 -g performance #echo "gansri135" | sudo -S cpufreq-set -c 9 -g performance #echo "gansri135" | sudo -S cpufreq-set -c 10 -g performance #echo "gansri135" | sudo -S cpufreq-set -c 11 -g performance echo "gansri135" | sudo -S modprobe can echo "gansri135" | sudo -S modprobe can_raw echo "gansri135" | sudo -S modprobe mttcan echo "gansri135" | sudo -S ifconfig can0 down echo "gansri135" | sudo -S /sbin/ip link set can0 type can bitrate 250000 echo "gansri135" | sudo -S ifconfig can0 up echo "gansri135" | sudo -S ifconfig can1 down echo "gansri135" | sudo -S /sbin/ip link set can1 type can bitrate 500000 echo "gansri135" | sudo -S ifconfig can1 up #nohup /home/nvidia/EgoZJ/EgoSystem/build/EgoSystem >/dev/null 2>&1 & #/home/nvidia/EgoZJ/EgoSystem/build/EgoSystem #exit 0