3 SWAP_KPROBE=swap_kprobe
5 # Check for running module in /proc/modules
6 RUNNING=`sed "/${SWAP_KPROBE}/ ! d" /proc/modules`
8 if [ "${RUNNING}" = "" ]; then
9 ./bin/insmod.sh ${SWAP_KPROBE}.ko
11 echo "Error: unable to load SWAP KProbe!"
15 echo "SWAP Kprobe is already running!"