#!/bin/sh

# This file is part of syscalltrack, a GNU/Linux kernel module and
# user space utilities for logging or modifying any system call    
# invocation.                                                      
#                                                                  
# Copyright (C) 2000-2002 Muli Ben-Yehuda, mulix@actcom.co.il      
# License: GNU General Public License                              

#
# $Id: sct_unload,v 1.2 2002/09/07 06:55:49 mulix Exp $
#

# This code is based upon code from the book "Linux Device
# Drivers" by Alessandro Rubini and Jonathan Corbet, published
# by O'Reilly & Associates. 

hijack_module="sct_hijack"
tracker_module="sct_rules"
device="sct"

# invoke rmmod with all arguments we got
/sbin/rmmod $tracker_module $*
/sbin/rmmod $hijack_module $*

exit 0
