1 if ! grep -q -w jailhouse /proc/cmdline; then
2 echo "Jailhouse not enabled"
8 printf "Starting Jailhouse: "
10 taskset 1 jailhouse enable /jailhouse/configs/jetson-tx2.cell
11 [ $? = 0 ] && echo "OK" || echo "FAIL"
14 printf "Stopping Jailhouse: "
15 jailhouse disable /jailhouse/configs/jetson-tx2.cell
17 [ $? = 0 ] && echo "OK" || echo "FAIL"