[Fai-commit] r6349 - trunk/examples/simple/scripts/CENTOS
Michael Goetze
mgoetze-guest at alioth.debian.org
Thu Apr 14 18:34:09 UTC 2011
Author: mgoetze-guest
Date: 2011-04-14 18:34:07 +0000 (Thu, 14 Apr 2011)
New Revision: 6349
Added:
trunk/examples/simple/scripts/CENTOS/20-makedev
Removed:
trunk/examples/simple/scripts/CENTOS/20-mknod
Log:
Replace CENTOS/20-mknod by CENTOS/20-makedev, thanks to Stephan Adig for the patch
Added: trunk/examples/simple/scripts/CENTOS/20-makedev
===================================================================
--- trunk/examples/simple/scripts/CENTOS/20-makedev (rev 0)
+++ trunk/examples/simple/scripts/CENTOS/20-makedev 2011-04-14 18:34:07 UTC (rev 6349)
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# (c) Stephan Adig 2011, sh at sourcecode.de
+
+$ROOTCMD /sbin/MAKEDEV urandom
+$ROOTCMD /sbin/MAKEDEV random
+$ROOTCMD /sbin/MAKEDEV -m 16 hda
+$ROOTCMD /sbin/MAKEDEV sda
+$ROOTCMD /sbin/MAKEDEV sdb
+$ROOTCMD /sbin/MAKEDEV rtc
+
Property changes on: trunk/examples/simple/scripts/CENTOS/20-makedev
___________________________________________________________________
Added: svn:executable
+ *
Deleted: trunk/examples/simple/scripts/CENTOS/20-mknod
===================================================================
--- trunk/examples/simple/scripts/CENTOS/20-mknod 2011-04-14 18:11:11 UTC (rev 6348)
+++ trunk/examples/simple/scripts/CENTOS/20-mknod 2011-04-14 18:34:07 UTC (rev 6349)
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-# (c) Michael Goetze, 2010-2011, mgoetze at mgoetze.net
-
-mknod -m 600 $target/dev/hda b 3 0
-mknod -m 600 $target/dev/sda b 8 0
-for x in `seq 1 15`; do
- mknod -m 600 $target/dev/hda$x b 3 $x
- mknod -m 600 $target/dev/sda$x b 8 $x
-done
-mknod -m 600 $target/dev/rtc c 254 0
More information about the Fai-commit
mailing list