Last change
on this file was
a2d969e,
checked in by Edwin Eefting <edwin@datux.nl>, 7 years ago
|
fixes
|
-
Property mode set to
100755
|
File size:
659 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | |
---|
3 | # Script that is executed whenever a new user is created in the |
---|
4 | # external user source, such as an Active Directory tree or |
---|
5 | # /etc/passwd. |
---|
6 | |
---|
7 | # This script executes all scripts in /etc/kopano/userscripts/createuser.d |
---|
8 | # using find. The environment variable KOPANO_USER is set, but |
---|
9 | # beware that this string can contain any characters, so take heed to |
---|
10 | # correct quoting. |
---|
11 | |
---|
12 | if [ -f /usr/etc/sysconfig/kopano ]; then |
---|
13 | . /usr/etc/sysconfig/kopano |
---|
14 | elif [ -f /usr/etc/default/kopano ]; then |
---|
15 | . /usr/etc/default/kopano |
---|
16 | fi |
---|
17 | PKGLIBEXECDIR=/usr/libexec/kopano |
---|
18 | KOPANO_USER_SCRIPTS=/etc/kopano/userscripts/createuser.d |
---|
19 | . /etc/kopano/userscripts/users_common.sh |
---|
Note: See
TracBrowser
for help on using the repository browser.