diff options
author | David Runge <dave@sleepmap.de> | 2015-03-25 02:20:38 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-03-25 02:20:38 +0100 |
commit | fb157a8abe4cc86da524fc01318a4b38883226f7 (patch) | |
tree | 54008a0f1941963f41558e11493f5c40b01e2ac7 /scripts | |
parent | 891e8170f5fecef7534827303e51971143536fba (diff) | |
download | rts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.gz rts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.bz2 rts-fb157a8abe4cc86da524fc01318a4b38883226f7.tar.xz rts-fb157a8abe4cc86da524fc01318a4b38883226f7.zip |
scripts/rt-settings: Rewriting for general and profile based use.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rt-settings | 9 |
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 |