aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-25 02:20:38 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-25 02:20:38 +0100
commitfb157a8abe4cc86da524fc01318a4b38883226f7 (patch)
tree54008a0f1941963f41558e11493f5c40b01e2ac7
parent891e8170f5fecef7534827303e51971143536fba (diff)
downloadrts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.gz
rts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.bz2
rts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.xz
rts-fb157a8abe4cc86da524fc01318a4b38883226f7.zip
scripts/rt-settings: Rewriting for general and profile based use.
-rwxr-xr-xscripts/rt-settings9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/rt-settings b/scripts/rt-settings
index 06ffa4f..47f20de 100755
--- a/scripts/rt-settings
+++ b/scripts/rt-settings
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
#Applies real-time kernel specific settings found in /etc/rt-settings.d/*
-for script in /etc/rt-settings.d/*
-do
- . script
-done
+if [ "$1" ]; then
+ . /etc/rt-settings/"$1"
+else
+ . /etc/rt-settings/rt-settings
+fi