[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5270-g1653bbf

Karolin Seeger kseeger at samba.org
Tue May 19 11:48:14 GMT 2009


The branch, v3-3-test has been updated
       via  1653bbf50b02e4f4dc2f01c5dab32c1cc4894582 (commit)
      from  0da133101ab149b074ab369d819fc48b7c95bf71 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 1653bbf50b02e4f4dc2f01c5dab32c1cc4894582
Author: Karolin Seeger <kseeger at samba.org>
Date:   Tue May 19 13:42:16 2009 +0200

    s3/docs: Fix shutdown script example.
    
    This fixes bug #5897. Thanks to TAKAHASHI Motonobu
    <monyo [at] samba.gr.jp> for reporting and providing the example!
    
    Karolin
    (cherry picked from commit f741b90ee8f74077871a0b5d1df55c0dd34a313f)

-----------------------------------------------------------------------

Summary of changes:
 docs-xml/smbdotconf/logon/shutdownscript.xml |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/smbdotconf/logon/shutdownscript.xml b/docs-xml/smbdotconf/logon/shutdownscript.xml
index 7e8ec8f..076704a 100644
--- a/docs-xml/smbdotconf/logon/shutdownscript.xml
+++ b/docs-xml/smbdotconf/logon/shutdownscript.xml
@@ -42,12 +42,13 @@
 	<para>Shutdown script example:
 <programlisting format="linespecific">
 #!/bin/bash
-		
-$time=0
-let &quot;time/60&quot;
-let &quot;time++&quot;
+
+time=$2
+let time=&quot;${time} / 60&quot;
+let time=&quot;${time} + 1&quot;
 
 /sbin/shutdown $3 $4 +$time $1 &amp;
+
 </programlisting>
         Shutdown does not return so we need to launch it in background.
 	</para>


-- 
Samba Shared Repository


More information about the samba-cvs mailing list