Tuna is already executed in the realtime profile which is included by the realtime-virtual-host/guest profiles, there is no need to execute it twice. Also fixed minor whitespace inconsistency. Related: rhbz#1472840 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
20 lines
407 B
Bash
Executable file
20 lines
407 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. /usr/lib/tuned/functions
|
|
|
|
start() {
|
|
python /usr/libexec/tuned/defirqaffinity.py "remove" "$TUNED_isolated_cores_expanded" &&
|
|
return "$?"
|
|
}
|
|
|
|
stop() {
|
|
python /usr/libexec/tuned/defirqaffinity.py "add" "$TUNED_isolated_cores_expanded"
|
|
return "$?"
|
|
}
|
|
|
|
verify() {
|
|
python /usr/libexec/tuned/defirqaffinity.py "verify" "$TUNED_isolated_cores_expanded"
|
|
return "$?"
|
|
}
|
|
|
|
process $@
|