+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_buffer
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_driver_new
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-SWAP_KPROBE=swap_kprobe
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${SWAP_KPROBE}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${SWAP_KPROBE}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load SWAP KProbe!"
- exit 1
- fi
-else
- echo "SWAP Kprobe is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_ks_features
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_ks_manager
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_ksyms
-SYS_MAP_PACH=/mnt/nfs/System.map
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko sm_path=${SYS_MAP_PACH}
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME}!"
- exit 1
- fi
-else
- echo "module ${MODULE_NAME} is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_message_parser
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-SWAP_UPROBE=swap_uprobe
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${SWAP_UPROBE}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${SWAP_UPROBE}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load SWAP UProbe!"
- exit 1
- fi
-else
- echo "SWAP Uprobe is already running!"
- exit 1
-fi
+++ /dev/null
-#!/bin/sh
-
-MODULE_NAME=swap_us_manager
-
-# Check for running module in /proc/modules
-RUNNING=`sed "/${MODULE_NAME}/ ! d" /proc/modules`
-
-if [ "${RUNNING}" = "" ]; then
- ./bin/insmod.sh ${MODULE_NAME}.ko
- if [ $? -ne 0 ]; then
- echo "Error: unable to load ${MODULE_NAME} module!"
- exit 1
- fi
-else
- echo "${MODULE_NAME} module is already running!"
- exit 1
-fi
-