Module Name: othersrc
Committed By: agc
Date: Wed May 18 01:41:31 UTC 2011
Modified Files:
othersrc/external/bsd/genraidconf: genraidconf.sh
Log Message:
put a comment at the start of the generated raid config file that the file was
generated by genraidconf(8)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/genraidconf/genraidconf.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/external/bsd/genraidconf/genraidconf.sh
diff -u othersrc/external/bsd/genraidconf/genraidconf.sh:1.2 othersrc/external/bsd/genraidconf/genraidconf.sh:1.3
--- othersrc/external/bsd/genraidconf/genraidconf.sh:1.2 Wed May 18 01:37:58 2011
+++ othersrc/external/bsd/genraidconf/genraidconf.sh Wed May 18 01:41:31 2011
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: genraidconf.sh,v 1.2 2011/05/18 01:37:58 agc Exp $
+# $NetBSD: genraidconf.sh,v 1.3 2011/05/18 01:41:31 agc Exp $
# Copyright (c) 2011 Alistair Crooks <[email protected]>
# All rights reserved.
@@ -213,6 +213,8 @@
case "${doit}" in
"")
cat > /etc/${raiddev}.conf << EOF
+# automatically generated by genraidconf at $(date)
+
START array
#numrow numcol numspare
1 ${devc} 0