diff options
author | David Runge <david.runge@frqrec.com> | 2014-09-29 11:16:20 +0200 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-09-29 11:16:20 +0200 |
commit | 8fc239f0d71ee53889bd4c3c63a7dd1124a5847c (patch) | |
tree | dabd0431ba95b6278e52f9f38547bbfbbe6f9552 /bin/check-rt | |
parent | 187fc27dc9bd765285f02e0aac13375bbcd84a6f (diff) | |
parent | dbb77f15412bdaeafacacb80f520c5bd906aa4a4 (diff) | |
download | dotfiles-8fc239f0d71ee53889bd4c3c63a7dd1124a5847c.tar.gz dotfiles-8fc239f0d71ee53889bd4c3c63a7dd1124a5847c.tar.bz2 dotfiles-8fc239f0d71ee53889bd4c3c63a7dd1124a5847c.tar.xz dotfiles-8fc239f0d71ee53889bd4c3c63a7dd1124a5847c.zip |
Merge branch 'master' of https://github.com/davezerave/dot
* 'master' of https://github.com/davezerave/dot:
Added more journalctl aliases.
Adding alias for journalctl to see messages from this boot only.
Adding further ignores for home directory
Adding Arduino related vundles
Adding Arduino preferences
Adding locally compiled tmux-mem-cpu-load version
Adding scripts to check weather currently running a realtime or vanilla kernel.
Adding correct echo output to updated script.
Changing output messages from Dropbox to ownCloud.
Adding further aliases, cleaning up systemd aliases and others.
Disabling the start of syndaemon, as a systemd user service is taking care of this now (hopefully)
Updated user-dirs.dirs settings file to reflect further changes in user home structure.
Raising the settings for night mode.
Splitting settings for external server into separate config file.
Adding newer Ardour version to settings.
Deleting unneeded arduino preferences file
Shifting to new key bindings config file 'bindings', deleting old ('keys'), updating config file to new settings format.
Diffstat (limited to 'bin/check-rt')
-rwxr-xr-x | bin/check-rt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/check-rt b/bin/check-rt new file mode 100755 index 0000000..5dc04cd --- /dev/null +++ b/bin/check-rt @@ -0,0 +1,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 + |