blob: 5dc04cd4007b20e65c33326e27ff2d012171f7e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/env bash
#Check if the kernel name has -rt in it (we're running Realtime Kernel)
if [[ $(uname -r) == *-rt* ]];then
echo "Success: Running $(uname -r)."
exit 0
else
echo "Failure: Running $(uname -r)."
exit 1
fi
|