[CLEAN] remove module scripts 74/29274/1 Tizen_SDK_2.3
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 23 Oct 2014 15:00:05 +0000 (19:00 +0400)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Thu, 23 Oct 2014 15:00:05 +0000 (19:00 +0400)
Change-Id: I4d5e65d84f35db68338468c211e9051a27968ebb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
buffer/swap_buffer.sh [deleted file]
driver/swap_driver_new.sh [deleted file]
kprobe/swap_kprobe.sh [deleted file]
ks_features/swap_ks_features.sh [deleted file]
ks_manager/swap_ks_manager.sh [deleted file]
ksyms/swap_ksyms.sh [deleted file]
parser/swap_message_parser.sh [deleted file]
uprobe/swap_uprobe.sh [deleted file]
us_manager/swap_us_manager.sh [deleted file]

diff --git a/buffer/swap_buffer.sh b/buffer/swap_buffer.sh
deleted file mode 100755 (executable)
index 027933b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/driver/swap_driver_new.sh b/driver/swap_driver_new.sh
deleted file mode 100755 (executable)
index e08aa0b..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/kprobe/swap_kprobe.sh b/kprobe/swap_kprobe.sh
deleted file mode 100755 (executable)
index dcebf69..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/ks_features/swap_ks_features.sh b/ks_features/swap_ks_features.sh
deleted file mode 100755 (executable)
index f189a41..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/ks_manager/swap_ks_manager.sh b/ks_manager/swap_ks_manager.sh
deleted file mode 100755 (executable)
index cb1946d..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/ksyms/swap_ksyms.sh b/ksyms/swap_ksyms.sh
deleted file mode 100755 (executable)
index 21e85e3..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/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
diff --git a/parser/swap_message_parser.sh b/parser/swap_message_parser.sh
deleted file mode 100755 (executable)
index 07f5117..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/uprobe/swap_uprobe.sh b/uprobe/swap_uprobe.sh
deleted file mode 100755 (executable)
index 5253ff8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/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
diff --git a/us_manager/swap_us_manager.sh b/us_manager/swap_us_manager.sh
deleted file mode 100644 (file)
index 4b1c13c..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/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
-