head	1.2;
access;
symbols
	RELENG_2_2_8_RELEASE:1.1.1.1.6.2
	RELENG_2_2_7_RELEASE:1.1.1.1.6.2
	RELENG_2_2_6_RELEASE:1.1.1.1.6.2
	RELENG_2_2_5_RELEASE:1.1.1.1.6.2
	RELENG_2_2_2_RELEASE:1.1.1.1
	RELENG_2_2_1_RELEASE:1.1.1.1
	RELENG_2_2_0_RELEASE:1.1.1.1
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.1.1.1.0.6
	RELENG_2_2_BP:1.1.1.1
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.4
	RELENG_2_1_0_BP:1.1.1.1
	RELENG_2_0_5_RELEASE:1.1.1.1
	RELENG_2_0_5:1.1.1.1.0.2
	RELENG_2_0_5_BP:1.1.1.1
	RELENG_2_0_5_ALPHA:1.1.1.1
	RELEASE_2_0:1.1.1.1
	BETA_2_0:1.1.1.1
	chat:1.1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.08.22.15.42.33;	author peter;	state dead;
branches;
next	1.1;

1.1
date	94.11.12.05.25.31;	author lars;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.11.12.05.25.32;	author lars;	state Exp;
branches
	1.1.1.1.6.1;
next	;

1.1.1.1.6.1
date	97.09.14.20.39.31;	author jkh;	state Exp;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	97.09.14.20.40.14;	author jkh;	state dead;
branches;
next	;


desc
@@


1.2
log
@Cleanup and remove the not-too-useful examples.  The current versions
should be in share/examples if anywhere.
@
text
@#!/bin/sh

LOCKDIR=/var/spool/lock

case "$1" in
    "")		echo "Usage: unlock lockfile"; exit 1 ;;
    .*)		echo "Usage: unlock lockfile"; exit 1 ;;
esac

if [ -f $LOCKDIR/$1 ]
then
	if [ `wc -c < $LOCKDIR/$1` -eq 4 ]
	then
	    rm -f $LOCKDIR/$1
	    exit 0
	else
	    echo "Usage: unlock lockfile"
	    exit 1
	fi
else
	echo "lockfile" $LOCKDIR/$1 "does not exist"
	exit 1
fi
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@chat for ppp, from ppp 2.1.2
@
text
@@


1.1.1.1.6.1
log
@MFC:  various bug fixes, doc updates and EOF -> -1 fixes.
@
text
@d1 23
@


1.1.1.1.6.2
log
@MFC: remove nuked files.
@
text
@@
