From a73a3e6bb0a97cac5a3cc7c929cce094ab566a8e Mon Sep 17 00:00:00 2001 From: Karl Stoney Date: Mon, 29 Jan 2018 23:44:04 +0000 Subject: [PATCH] Removed file causing lint issues --- test.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 test.sh diff --git a/test.sh b/test.sh deleted file mode 100755 index 70424d9c6..000000000 --- a/test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -set -e -CGROUP_CPU=/sys/fs/cgroup/cpu/cpu.shares -if [ -f "$CGROUP_CPU" ]; then - SHARES=$(cat $CGROUP_CPU) - CPUS=$(($SHARES / 1024)) - echo "$SHARES detected in the cgroup, rounds down to $CPUS cpus" -else - echo "No CGroup shares detected, will use default value of auto" - CPUS="auto" -fi -