gcc484ntopperl-5.22
Last change
on this file since 0105685 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
376 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #(c) DatuX 2008 |
---|
3 | #we need to add an pre execute line, this was not in the original configurationfile |
---|
4 | if [ ! `grep -F '-e logon script = %U' /home/system/samba/smb.conf` ]; then |
---|
5 | sed 's/.*logon.bat/\troot preexec = \"\/usr\/sbin\/netlogon_script_creator %U\"\n\tlogon script = %U/' -i /home/system/samba/smb.conf || exit 1 |
---|
6 | fi |
---|
7 | svcreset /service/smbd || exit 1 |
---|
8 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.