Add back nfs partition display if show_remote_fs is on. trunk
authorperry <perry@NetBSD.org>
Mon, 08 Dec 2003 01:17:37 +0000
branchtrunk
changeset 121628 4788df5c1e3d
parent 121627 a1a59fcfd91f
child 121629 e9c37d7d0511
Add back nfs partition display if show_remote_fs is on. As requested by Grant.
etc/daily
--- a/etc/daily	Mon Dec 08 01:16:22 2003 +0000
+++ b/etc/daily	Mon Dec 08 01:17:37 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#	$NetBSD: daily,v 1.54 2003/12/07 22:22:15 perry Exp $
+#	$NetBSD: daily,v 1.55 2003/12/08 01:17:37 perry Exp $
 #	@(#)daily	8.2 (Berkeley) 1/25/94
 #
 
@@ -140,7 +140,11 @@
 fi
 
 if checkyesno check_disks; then
-	df -hil -t nokernfs,procfs > $TMP 
+	if checkyesno show_remote_fs; then
+		df -hi -t nokernfs,procfs > $TMP
+	else
+		df -hil -t nokernfs,procfs > $TMP
+	fi
 	if [ -s /etc/dumpdates ] ; then
 		dump -W > $TMP2
 	fi