1 echo Setting up CAN interfaces
3 ip link set can0 type can bitrate 1000000
4 ip link set up dev can0
5 ip link set can1 type can bitrate 1000000
6 ip link set up dev can1
8 # mount -t debugfs none /sys/kernel/debug
9 # cd /sys/kernel/debug/tracing/
10 # echo function_graph > current_tracer
11 # echo mscan_start_xmit > set_graph_function
14 params=$(sed -e 's/.* ugw=|\([^"]*\)|.*/\1/' /proc/cmdline)