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