Hello
I am currently using a jetson NX card.
I would like to activate my 6 cpu when booting the NX.
I tried to do this through a service like the following:
Here is my bash file. When I run it manually I manage to launch the 6 cpu.
#! /usr/bin/bash
echo 1 > /sys/devices/system/cpu/cpu0/online
echo 1 > /sys/devices/system/cpu/cpu1/online
echo 1 > /sys/devices/system/cpu/cpu2/online
echo 1 > /sys/devices/system/cpu/cpu3/online
echo 1 > /sys/devices/system/cpu/cpu4/online
echo 1 > /sys/devices/system/cpu/cpu5/online
Here is my service :
[Unit]
Description=cpu service
[Service]
ExecStart=/usr/local/bin/cpu2.bash
[Install]
WantedBy=default.target
My bash file does not start via the service … I don’t understand why … could someone please help me?
Thank you