aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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