#!/bin/bash
#$Header$
# Script to load the kernel module, saving the rtc if possible
#

# Make sure we have the right kerel
versionstring=`uname -r`
if [ $versionstring != "2.4.18" ] ; then
    echo Sorry, testbed NIST Net is only supposed to run on 2.4.18 kernel
    exit 1
fi


/sbin/insmod /root/nistnet/bin/modules/nistnet.o

if [ $? == 0 ] ; then
    echo "nistnet module installed"
fi
exit 0
