svn commit: samba-docs r1192 - in trunk/smbdotconf/misc: .
kseeger at samba.org
kseeger at samba.org
Wed Oct 17 13:20:23 GMT 2007
Author: kseeger
Date: 2007-10-17 13:20:22 +0000 (Wed, 17 Oct 2007)
New Revision: 1192
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-docs&rev=1192
Log:
Add patch from Harald Koenig <koenig at science-computing.de>
Karolin
Modified:
trunk/smbdotconf/misc/dfreecommand.xml
Changeset:
Modified: trunk/smbdotconf/misc/dfreecommand.xml
===================================================================
--- trunk/smbdotconf/misc/dfreecommand.xml 2007-10-17 11:03:00 UTC (rev 1191)
+++ trunk/smbdotconf/misc/dfreecommand.xml 2007-10-17 13:20:22 UTC (rev 1192)
@@ -41,7 +41,7 @@
Where the script dfree (which must be made executable) could be:
<programlisting format="linespecific">
#!/bin/sh
-df $1 | tail -1 | awk '{print $2" "$4}'
+df $1 | tail -1 | awk '{print $(NF-4),$(NF-2)}'
</programlisting>
or perhaps (on Sys V based systems):
<programlisting format="linespecific">
More information about the samba-cvs
mailing list