/usr/local -> ${PREFIX}
From: Xavier Santolaria <xavier@santolaria.net>
This commit is contained in:
parent
9369299f82
commit
a4228a753a
@ -14,7 +14,7 @@ Setting up: (for the impatient)
|
||||
For accepting incoming FAX/data calls, modify /etc/ttys(5) to
|
||||
contain something like this:
|
||||
|
||||
cua00 "/usr/local/sbin/faxgetty" dialup on
|
||||
cua00 "${PREFIX}/sbin/faxgetty" dialup on
|
||||
|
||||
and send a SIGHUP to init(8).
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
The ipop2d, ipop3d, and imapd daemons should be invoked by your
|
||||
/etc/inetd.conf file with lines such as:
|
||||
|
||||
pop2 stream tcp nowait root /usr/local/libexec/ipop2d ipop2d
|
||||
pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d
|
||||
imap stream tcp nowait root /usr/local/libexec/imapd imapd
|
||||
pop2 stream tcp nowait root ${PREFIX}/libexec/ipop2d ipop2d
|
||||
pop3 stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d
|
||||
imap stream tcp nowait root ${PREFIX}/libexec/imapd imapd
|
||||
|
||||
|
||||
To use SSL as default transport you need to add the lines below to
|
||||
/etc/inetd.conf.
|
||||
|
||||
pop3s stream tcp nowait root /usr/local/libexec/ipop3d ipop3d
|
||||
imaps stream tcp nowait root /usr/local/libexec/imapd imapd
|
||||
pop3s stream tcp nowait root ${PREFIX}/libexec/ipop3d ipop3d
|
||||
imaps stream tcp nowait root ${PREFIX}/libexec/imapd imapd
|
||||
|
||||
You also need to install files containing an RSA certificate and private key
|
||||
to /etc/ssl/ipop3d.pem and /etc/ssl/imapd.pem. See ssl(8) for how to do this.
|
||||
|
@ -6,5 +6,5 @@ stel 10005/tcp # Secure Telnet
|
||||
and
|
||||
|
||||
something like this to /etc/inetd.conf
|
||||
stel stream tcp nowait root /usr/local/sbin/steld steld -t 28800
|
||||
stel stream tcp nowait root ${PREFIX}/sbin/steld steld -t 28800
|
||||
|
||||
|
@ -8,8 +8,8 @@ To activate the new printing system do the following:
|
||||
|
||||
- add the following lines to /etc/rc.local:
|
||||
|
||||
if [ -x /usr/local/sbin/lpd ]; then
|
||||
echo -n ' LPRng'; /usr/local/sbin/lpd
|
||||
if [ -x ${PREFIX}/sbin/lpd ]; then
|
||||
echo -n ' LPRng'; ${PREFIX}/sbin/lpd
|
||||
fi
|
||||
|
||||
- reboot or kill the old lpd and start the new one
|
||||
|
@ -5,11 +5,11 @@
|
||||
| following block can be added to your /etc/rc.local file to start nut.
|
||||
|
|
||||
| # Start Nut
|
||||
| if [ -x /usr/local/bin/upsdrvctl ]; then
|
||||
| if [ -x ${PREFIX}/bin/upsdrvctl ]; then
|
||||
| echo -n ' nut'
|
||||
| /usr/local/bin/upsdrvctl start > /dev/null
|
||||
| /usr/local/sbin/upsd > /dev/null 2>&1
|
||||
| /usr/local/sbin/upsmon > /dev/null 2>&1
|
||||
| ${PREFIX}/bin/upsdrvctl start > /dev/null
|
||||
| ${PREFIX}/sbin/upsd > /dev/null 2>&1
|
||||
| ${PREFIX}/sbin/upsmon > /dev/null 2>&1
|
||||
| fi
|
||||
|
|
||||
| You may also be interested in the "-i" flag to upsd, see upsd(8).
|
||||
|
@ -15,8 +15,8 @@
|
||||
| installed using the following instructions.
|
||||
|
|
||||
| # ftp ftp://ftp.microsoft.com/products/frontpage/fp50.bsdi.tar.Z
|
||||
| # tar -C /usr/local -xzpvf fp50.bsdi.tar.Z
|
||||
| # cd /usr/local/frontpage/version5.0
|
||||
| # tar -C ${PREFIX} -xzpvf fp50.bsdi.tar.Z
|
||||
| # cd ${PREFIX}/frontpage/version5.0
|
||||
| # dd if=/dev/arandom of=apache-fp/suidkey bs=129 count=1
|
||||
| # sh set_default_perms.sh
|
||||
| # find . -type f -perm -4000 -exec chmod u-s {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user