aboutsummaryrefslogblamecommitdiffstats
path: root/showsched
blob: a936e0546beecd2e4dd9b4b242e72066f4f954b1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
         











                                                       
#!/bin/sh
#
# showsched: show the currently active plugin and exit.

ADIR=/proc/litmus/active_plugin

if [ -e $ADIR ]; then
    cat $ADIR
else
    KERN=`uname -s -r`
    echo "Error: LITMUS^RT not found on $KERN!" 
    exit 1
fi