Thread View: news.software.nn
1 messages
1 total messages
Started by Paul Pomes - UofIllinois CSO
Fri, 11 May 1990 14:27
problems w. 6.4 install on BSD systems
Author: Paul Pomes - UofIllinois CSO
Date: Fri, 11 May 1990 14:27
Date: Fri, 11 May 1990 14:27
47 lines
2730 bytes
2730 bytes
In the inst.sh script, a check is made whether a directory is writeable
by using /bin/test -w man/. On BSD systems (4.3 BSD VAX, Sequent Balance and
Symmetry, plus Convex), this test applies only to files and not directories
so it always fails. The quick fix was to delete the second part of the test
statement. A better fix would be to check the exit status of the first cp
command before continuing with the rest.
Further experimentation reveals that the test built into ksh (is this /bin/sh
in current Sys5 machines?) handles directories correctly.
In xmakefile, the line
[ ! -f man/nn.1 ] || mv man/nn.1 man/nn.1~
should be changed to
-[ ! -f man/nn.1 ] || mv man/nn.1 man/nn.1~
If the man/nn.1 file is present, the test returns 1. Make then exits unless
it's told to ignore the non-zero exit status with the leading '-' character.
Because I install nn on several machines, I created the rc.sample and
cron.sample files below:
==rc.sample==
if [ -f /usr/local/lib/nn/nnmaster ]; then
rm -f /usr/local/lib/nn/MPID
/usr/local/lib/nn/nnmaster -l -r -C
echo -n ' nnmaster' >/dev/console
fi
==cron.sample==
# 4.3 BSD-tahoe
2 6,12,18 * * * news /usr/local/lib/nn/nnspew > /dev/null 2>&1
30 1 * * * news /usr/local/bin/nnadmin =EYW > /dev/null 2>&1
00 23 * * * news /usr/local/lib/nn/back_act > /dev/null 2>&1
# Older BSD crons
#2 6,12,18 * * * su - news /usr/local/lib/nn/nnspew > /dev/null 2>&1
#30 1 * * * su - news /usr/local/bin/nnadmin =EYW > /dev/null 2>&1
#00 23 * * * su - news /usr/local/lib/nn/back_act > /dev/null 2>&1
# Older BSD crons
# In /usr/spool/cron/crontabs/news (System V):
#2 6,12,18 * * * /usr/local/lib/nn/nnspew > /dev/null 2>&1
#30 1 * * * /usr/local/bin/nnadmin =EYW > /dev/null 2>&1
#00 23 * * * /usr/local/lib/nn/back_act > /dev/null 2>&1
--
Paul Pomes
UUCP: {att,iuvax,uunet}!uiucuxc!paul Internet, BITNET: paul@uxc.cso.uiuc.edu
US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801-2987
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads