summaryrefslogtreecommitdiff
path: root/regress/simulation/install.sh
blob: 903fae9090f3b24041d0901e58bc7028549e3cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
#
# $FML: install.sh,v 1.13 2003/01/28 09:06:07 fukachan Exp $
#

if [ ! -f .this_is_a_test_machine ];then
	echo "touch .this_is_a_test_machine here if you use this script"
	exit 1
fi

(cd ../..; ./configure \
	--with-warning \
	--with-fmlconfdir=/etc/fml \
	--with-fml-owner=fukachan \
	--with-fml-group=wheel \
	)

# config.cf
sudo -v

if [ -d /var/spool/ml/elena ];then
	echo updating /var/spool/ml/elena/config.cf
	cp /var/spool/ml/elena/config.cf /var/spool/ml/elena/config.cf.bak
	cp config.cf /var/spool/ml/elena/config.cf
fi

( cd ../../fml/etc/; sh .gen.sh )
sudo rm -f /etc/fml/main.cf 
sudo rm -f /etc/fml/site_default_config.cf 
sudo rm -f /usr/local/libexec/fml/loader
( cd ../..; sudo make install )

sudo -v