summaryrefslogtreecommitdiff
path: root/net/generic-nqs/scripts/syslog-add.sh
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-06-28 07:07:31 +0000
commitcad6c0c117fe4b1c6ae18dda6a02174a31dc4295 (patch)
treef8a77505ed450af8911e77789464145b2a168e9d /net/generic-nqs/scripts/syslog-add.sh
parentMove generic-nqs to the net category. (diff)
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>
Notes
Notes: svn path=/head/; revision=19862
Diffstat (limited to 'net/generic-nqs/scripts/syslog-add.sh')
-rw-r--r--net/generic-nqs/scripts/syslog-add.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/generic-nqs/scripts/syslog-add.sh b/net/generic-nqs/scripts/syslog-add.sh
new file mode 100644
index 000000000000..d3e810b5685c
--- /dev/null
+++ b/net/generic-nqs/scripts/syslog-add.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if grep -q nqs /etc/syslog.conf
+then :
+else
+ echo "local0.* /var/log/nqs" >> /etc/syslog.conf
+ echo ""
+ echo "/etc/syslog modified to support nqs"
+ echo ""
+fi