diff options
Diffstat (limited to 'docs/smbdotconf/misc/dfreecommand.xml')
-rw-r--r-- | docs/smbdotconf/misc/dfreecommand.xml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/docs/smbdotconf/misc/dfreecommand.xml b/docs/smbdotconf/misc/dfreecommand.xml index 1c058d2918..4a9de5c84d 100644 --- a/docs/smbdotconf/misc/dfreecommand.xml +++ b/docs/smbdotconf/misc/dfreecommand.xml @@ -28,21 +28,23 @@ <para>Note: Your script should <emphasis>NOT</emphasis> be setuid or setgid and should be owned by (and writeable only by) root!</para> - <para>Where the script dfree (which must be made executable) could be:</para> - -<para><programlisting format="linespecific"> + <para>Where the script dfree (which must be made executable) could be: +<programlisting format="linespecific"> #!/bin/sh df $1 | tail -1 | awk '{print $2" "$4}' -</programlisting></para> - - <para>or perhaps (on Sys V based systems):</para> +</programlisting> + </para> -<para><programlisting format="linespecific"> + <para>or perhaps (on Sys V based systems): +<programlisting format="linespecific"> #!/bin/sh /usr/bin/df -k $1 | tail -1 | awk '{print $3" "$5}' -</programlisting></para> +</programlisting> + </para> - <para>Note that you may have to replace the command names with full path names on some systems.</para> + <para> + Note that you may have to replace the command names with full path names on some systems. + </para> </description> <value type="default"><comment>By default internal routines for |