source: branches/samba-3.5.x/source4/script/installmisc.sh@ 737

Last change on this file since 737 was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 884 bytes
Line 
1#!/bin/sh
2# install miscellaneous files
3
4SRCDIR="$1"
5SETUPDIR="$2"
6
7cd $SRCDIR || exit 1
8
9echo "Installing setup templates"
10mkdir -p $SETUPDIR || exit 1
11mkdir -p $SETUPDIR/ad-schema || exit 1
12cp setup/ad-schema/*.txt $SETUPDIR/ad-schema || exit 1
13for p in enableaccount newuser provision setexpiry setpassword pwsettings
14do
15 chmod a+x setup/$p
16 cp setup/$p $SETUPDIR || exit 1
17done
18cp setup/schema-map-* $SETUPDIR || exit 1
19cp setup/DB_CONFIG $SETUPDIR || exit 1
20cp setup/*.inf $SETUPDIR || exit 1
21cp setup/*.ldif $SETUPDIR || exit 1
22cp setup/*.reg $SETUPDIR || exit 1
23cp setup/*.zone $SETUPDIR || exit 1
24cp setup/*.conf $SETUPDIR || exit 1
25cp setup/*.php $SETUPDIR || exit 1
26cp setup/*.txt $SETUPDIR || exit 1
27cp setup/provision.smb.conf.dc $SETUPDIR || exit 1
28cp setup/provision.smb.conf.member $SETUPDIR || exit 1
29cp setup/provision.smb.conf.standalone $SETUPDIR || exit 1
30
31exit 0
Note: See TracBrowser for help on using the repository browser.