#!/sbin/sh # $Id: Selmd,v 1.4 1996/01/09 15:52:48 t_browr Exp $ # Start or stop Elan License Manager(s) [For System V UNIX systems] # # -> This file may be placed in the /etc/rc2.d directory named # "Selmd" and copied (or linked) to the name "Kelmd". # -> Modify YOUR-KEYPATH-HERE after the elmd -e option. # -> Modify YOUR-LOGFILE-HERE after the elmd -l option. # ----------------------------------------------------------------- # @(#)Selmd 1.2 8/13/93 12:11:39 - Elan Computer Group, Inc. (c) 1993 # # Copyright (c) 1993 Elan Computer Group, Inc. # All Rights Reserved. # # This is unpublished proprietary source code of Elan Computer Group, Inc. # The copyright notice above does not evidence any actual # or intended publication of such source code. # USAGE="Usage: $0 {start | stop}" case "$1" in start) /usr/lib/elm/ad_elmd -e "YOUR-KEYPATH-HERE" -l "YOUR-LOGFILE-HERE" -m 0.25m ;; stop) for file in /tmp/.elmd.* do /bin/kill -15 `cat $file` done ;; *) echo "$USAGE" exit 1 ;; esac