aboutsummaryrefslogtreecommitdiffstats
path: root/bin/rts
blob: fcb6c155a7993444a7e5316e94bb739da2ac9d13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
#Applies real-time kernel specific settings found in /etc/rts/*

if [ "$1" ]; then
  if [ -f /etc/rts/"$1" ]; then
    . /etc/rts/"$1"
  else
    exit 1
  fi
else
  if [ -f /etc/rts/rts ]; then
    . /etc/rts/rts
  else
    exit 1
  fi
fi