#!/bin/csh
# 
# *******************************************************************
# Issued by Dan Daddieco - License Key and PAK Management Group
# DTN 381-0743 *** 603-881-0743 ***  FAX 603-881-1297
# VAXMail GROOVE::DADDIECO  ***  Internet daddieco@groove.zko.dec.com
# WWW Pages   http://groove.zko.dec.com/lkpmlogo.html
# *******************************************************************
# 
if `whoami` != "root" then
   echo "You must be superuser to run this script"
   exit 1
endif

test -r /etc/lmf
if ($status != 0) then
   set lmfcom="/usr/sbin/lmf"
else
   set lmfcom="/etc/lmf"
endif

echo ""
echo "Unloading and deleting BOOKBROWSER"
$lmfcom delete BOOKBROWSER
# This PAK was issued on 12-NOV-1996 15:28
echo ""
echo "Registering BOOKBROWSER"
$lmfcom register - << =EOF=
Licensed Software Product
Product Authorization Key
Enter data on lines terminated with :
                 Issuer: DEC
   Authorization Number: AXP-DUNIX-BOOKBROWSER
           Product Name: BOOKBROWSER
               Producer: DEC
        Number of units: 0
   Product Release Date: 28-FEB-1998 
Availability Table Code: CONSTANT=100
            Key Options: ALPHA
               Checksum: 2-MBBM-BCGN-HPDJ-EDHM
=EOF=

if $status then
   echo "Registration Failed for BOOKBROWSER "
   exit 1
endif

echo ""
echo "Loading BOOKBROWSER"
$lmfcom load 0 BOOKBROWSER DEC  AXP-DUNIX-BOOKBROWSER
#
#
