diff options
author | steve <steve@FreeBSD.org> | 1999-12-27 08:46:07 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-27 08:46:07 +0800 |
commit | 11e7472b95bb37ad246b2f4bca8ff93cfbac8eb9 (patch) | |
tree | f96fd0d9c50d91c9b42c6aae97524a4c10ccb7c6 /net/generic-nqs/scripts | |
parent | df9860ed81ace9cc3f3cbd9aac865814b40e8b89 (diff) | |
download | freebsd-ports-gnome-11e7472b95bb37ad246b2f4bca8ff93cfbac8eb9.tar.gz freebsd-ports-gnome-11e7472b95bb37ad246b2f4bca8ff93cfbac8eb9.tar.zst freebsd-ports-gnome-11e7472b95bb37ad246b2f4bca8ff93cfbac8eb9.zip |
Update to version 3.50.6.
PR: 14915
Submitted by: maintainer
Diffstat (limited to 'net/generic-nqs/scripts')
-rw-r--r-- | net/generic-nqs/scripts/create-nqs-rc.sh | 5 | ||||
-rw-r--r-- | net/generic-nqs/scripts/fix-PLIST.mktmp.sh | 21 | ||||
-rw-r--r-- | net/generic-nqs/scripts/syslog-add.sh | 4 |
3 files changed, 28 insertions, 2 deletions
diff --git a/net/generic-nqs/scripts/create-nqs-rc.sh b/net/generic-nqs/scripts/create-nqs-rc.sh index 6087fae4b88f..3929ec03c6f8 100644 --- a/net/generic-nqs/scripts/create-nqs-rc.sh +++ b/net/generic-nqs/scripts/create-nqs-rc.sh @@ -1,5 +1,6 @@ #!/bin/sh +PATH="/usr/bin:/bin"; export PATH me=`basename $0` if [ $# -lt 3 ]; then @@ -11,5 +12,7 @@ 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 "Created $3 boot startup file." +echo " - it will startup the 2 NQS daemons" +echo " - run this script manually now before attempting to create queues" echo "" diff --git a/net/generic-nqs/scripts/fix-PLIST.mktmp.sh b/net/generic-nqs/scripts/fix-PLIST.mktmp.sh new file mode 100644 index 000000000000..2a70066fc110 --- /dev/null +++ b/net/generic-nqs/scripts/fix-PLIST.mktmp.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Where did they actually store the spool area? +# Check the NQS config file! +# +# Fortunately the ports system creates a temporary packing list that we can +# modify post-install before the install gets officially recorded. +# + +PATH="/usr/bin:/bin"; export PATH + +me=`basename $0` + +if [ $# -lt 2 ]; then + echo usage: $me configfile workdir >&2 + exit 1 +fi + +root=`grep NQS_ROOTPRIV $1 | cut -f2 -d\"` +mv $2/.PLIST.mktmp $2/.PLIST.mktmp.orig +sed -e"s#XXXX#$root#" $2/.PLIST.mktmp.orig > $2/.PLIST.mktmp diff --git a/net/generic-nqs/scripts/syslog-add.sh b/net/generic-nqs/scripts/syslog-add.sh index d3e810b5685c..c9e5968abc75 100644 --- a/net/generic-nqs/scripts/syslog-add.sh +++ b/net/generic-nqs/scripts/syslog-add.sh @@ -1,10 +1,12 @@ #!/bin/sh +PATH="/usr/bin:/bin"; export PATH + 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 "/etc/syslog.conf modified to support nqs (using local0.*)" echo "" fi |