summaryrefslogtreecommitdiffstats
path: root/examples/chroot-setup/OSF1
blob: dd6ae6473a9720a8360222a8803f827d4beb7039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
*******************************************************************
#                       setup chroot jail for OSF1
#                            prabhat@wonder
set -e
umask 022

#Default POSTFIX_DIR = /var/spool/postfix
#Else set POSTFIX_DIR in environment

POSTFIX_DIR=${POSTFIX_DIR-/var/spool/postfix}

cd ${POSTFIX_DIR}
mkdir etc
cp /etc/svc.conf /etc/services /etc/resolv.conf etc
#
# The following line added to make the timestamps in syslog to be correct.
# /PetBi@UNIT.LiU.SE
#
cp -r /etc/zoneinfo etc

#*******************************************************************