Ignore:
Timestamp:
Jun 17, 2009, 2:19:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 branch to 3.3.5

Location:
branches/samba-3.3.x/docs-xml/smbdotconf/logon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/docs-xml/smbdotconf/logon/abortshutdownscript.xml

    r217 r274  
    1010               
    1111        <para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>,
    12         right, this command will be run as user.</para>
     12        right, this command will be run as root.</para>
    1313</description>
    1414<value type="default">&quot;&quot;</value>
  • branches/samba-3.3.x/docs-xml/smbdotconf/logon/shutdownscript.xml

    r217 r274  
    1111
    1212        <para>If the connected user posseses the <constant>SeRemoteShutdownPrivilege</constant>,
    13         right, this command will be run as user.</para>
     13        right, this command will be run as root.</para>
    1414
    1515        <para>The %z %t %r %f variables are expanded as follows:</para>
     
    4343<programlisting format="linespecific">
    4444#!/bin/bash
    45                
    46 $time=0
    47 let &quot;time/60&quot;
    48 let &quot;time++&quot;
     45
     46time=$2
     47let time=&quot;${time} / 60&quot;
     48let time=&quot;${time} + 1&quot;
    4949
    5050/sbin/shutdown $3 $4 +$time $1 &amp;
     51
    5152</programlisting>
    5253        Shutdown does not return so we need to launch it in background.
Note: See TracChangeset for help on using the changeset viewer.