1#!/bin/sh 2# $FreeBSD$ 3 4name="$(mktemp -u shsec.XXXXXX)" 5class="shsec" 6base=`basename $0` 7 8shsec_test_cleanup() 9{ 10 [ -c /dev/$class/$name ] && gshsec stop $name 11 geom_test_cleanup 12} 13trap shsec_test_cleanup ABRT EXIT INT TERM 14 15. `dirname $0`/../geom_subr.sh 16