2 # install miscellaneous files
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
16 cp setup
/$p $SETUPDIR ||
exit 1
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