This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: jupyter | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start jupyter | |
# Description: This file should be used to construct scripts to be | |
# placed in /etc/init.d. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# turn on fan for safety | |
echo "Enabling fan for safety..." | |
if [ ! -w /sys/kernel/debug/tegra_fan/target_pwm ] ; then | |
echo "Cannot set fan -- exiting..." | |
fi | |
echo 255 > /sys/kernel/debug/tegra_fan/target_pwm | |
echo 0 > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable |
OlderNewer