View odroid-xu4-config.sh
#! /bin/bash | |
# Exit if any error code of each command is different to 0 (success) | |
set -e | |
HDD_NEXTCLOUD=/mnt/hdd1 | |
# Check if the script is being runned as root | |
if [ $(id -u) -ne 0 ]; then | |
echo "That script should be run as root!" |
View temperature-controller.sh
#! /bin/bash | |
VERBOSE=1 #Log changes in a log file | |
LOGFILE=/var/log/temperature-controller.log | |
TMPTHRES=55 #Temperature threshold in degrees | |
SLPON=300 #Sleep time | |
MINH=07 #Threshold hours of work | |
oldstat=off | |
curstat=off |
View gsoc-patch
--- a/scratch/testapp-sim.cc 2014-05-09 18:14:55.890791594 +0100 | |
+++ b/scratch/testapp-sim.cc 2014-05-09 18:13:48.714789659 +0100 | |
@@ -12,14 +12,13 @@ | |
NodeContainer nodes; | |
nodes.Create (1); | |
- /* | |
- * XXX: | |
- * Add TestApplication to the above created | |
- * node. Then schedule TestApplication to be |