From fb157a8abe4cc86da524fc01318a4b38883226f7 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 25 Mar 2015 02:20:38 +0100 Subject: scripts/rt-settings: Rewriting for general and profile based use. --- scripts/rt-settings | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/rt-settings') 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 -- cgit v1.2.3-70-g09d2