Removed file causing lint issues

This commit is contained in:
Karl Stoney 2018-01-29 23:44:04 +00:00
parent 78325543f4
commit a73a3e6bb0

12
test.sh
View file

@ -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