#!/bin/sh
#
# install for LRP addon package

F="/var/lib/lrpkg/root.addons"
PAK="eql_enslave"
VER="1.2-1"

echo
echo -n "Installing $PAK: "

mv ./$PAK /usr/sbin/$PAK

echo "Done."
echo "Updating addon info in: $F"

echo "### $PAK" >>$F
echo "## $VER" >>$F
echo "/usr/sbin/$PAK" >>$F
echo "# $PAK">>$F

echo
echo "You will need to load the eql kernel module first, before"
echo "being able to enslave devices."

echo
echo "Remember to back up the root if you are running on a ramdrive!"
echo
