1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/net/generic-nqs/scripts/create-nqs-rc.sh
Chris Piazza cad6c0c117 Generic-NQS, a freely available Network Queuing System that provides
configurable limits on jobs on a per queue basis as well as for the
total queue system.
It is based on the de facto NQS standards and is interoperable with
commercial NQS products.

PR:		6699
Submitted by:	Tony Maher <tonym@angis.org.au>
1999-06-28 07:07:31 +00:00

16 lines
240 B
Bash

#!/bin/sh
me=`basename $0`
if [ $# -lt 3 ]; then
echo usage: $me configfile nqs.sh rcdir >&2
exit 1
fi
root=`grep NQS_ROOTDIR $1 | cut -f2 -d\"`
sed -e"s#XXXX#$root#" $2 > $3
chmod 755 $3
echo ""
echo "created $3 startup file"
echo ""