🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: mail.uk-sendmail-workers
1 messages
1 total messages Started by Jim Crammond Mon, 29 Apr 1991 16:50
/etc rather than /usr/lib
#91
Author: Jim Crammond
Date: Mon, 29 Apr 1991 16:50
37 lines
1299 bytes
Things like the pathnames of the aliases files changing can be dealt
with in the localise.sh file.  In the localise.sh file I use locally I
also modify Install.sh to include a -d <dir> option to allow the .cf
file to be installed in /etc or elsewhere.  My localise.sh follows:

 #!/bin/sh

 # add option to Install.sh

 ed ../Install.sh <<'EOF'
 /^$/i
 # if -d dir is specified, the cf file is rcp'd to <dir>/sendmail.cf
 .
 /verbose/a
 dir=/usr/lib
 .
 /\*)/i
 -d)	dir=$2
 shift
 ;;
 .
 /usr.lib.sendmail.cf/s/.usr.lib/$dir/
 w Install.sh
 q
 EOF

 #  change /usr/lib paths to /etc in base.m4

 ed base.m4 <<'EOF'
 /^OA/s/usr.lib/etc/p
 /^OF/s/0644/0600/p
 w
 q
 EOF


-Jim.
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