#!/bin/sh

module_name=hide_module

if ! modprobe -a $module_name; then
	echo "Could not load module!"
	exit 1
fi

if lsmod | grep -q hide_module; then
	echo "lsmod shows hide_module"
	exit 1
fi

if [ -d "/sys/module/hide_module" ]; then
	echo "hide_module found in /sys/module"
	exit 1
fi
