samba: Hardcoded path to sync-netlogon.
This commit is contained in:
parent
e1fe465b4f
commit
fae8257a89
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# fix path
|
||||||
|
PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin"
|
||||||
|
|
||||||
# determine domain name
|
# determine domain name
|
||||||
WORKGROUP=`echo '' | testparm -v --section-name global 2> /dev/null | \
|
WORKGROUP=`echo '' | testparm -v --section-name global 2> /dev/null | \
|
||||||
sed -n 's/^\tworkgroup = \(.*\)/\1/p'`
|
sed -n 's/^\tworkgroup = \(.*\)/\1/p'`
|
||||||
|
|
Loading…
Add table
Reference in a new issue