[Fai-commit] r4229 - in trunk/examples/simple: class hooks
scripts/DEMO scripts/FAIBASE scripts/LAST
Thomas Lange
lange at alioth.debian.org
Wed Feb 7 22:18:59 CET 2007
Author: lange
Date: 2007-02-07 22:18:58 +0100 (Wed, 07 Feb 2007)
New Revision: 4229
Modified:
trunk/examples/simple/class/10-base-classes
trunk/examples/simple/class/50-host-classes
trunk/examples/simple/hooks/instsoft.FAIBASE
trunk/examples/simple/scripts/DEMO/10-misc
trunk/examples/simple/scripts/FAIBASE/10-misc
trunk/examples/simple/scripts/FAIBASE/30-interface
trunk/examples/simple/scripts/LAST/50-misc
Log:
make script a bash script (closes: #410084)
Modified: trunk/examples/simple/class/10-base-classes
===================================================================
--- trunk/examples/simple/class/10-base-classes 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/class/10-base-classes 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,8 +1,8 @@
-#! /bin/sh
+#! /bin/bash
# echo architecture and OS name in upper case. Do NOT remove these two lines
uname -s | tr '[:lower:]' '[:upper:]'
[ -x "`which dpkg`" ] && dpkg --print-installation-architecture | tr a-z A-Z
[ -f /boot/RUNNING_FROM_FAICD ] && echo "FAICD"
-exit 0
\ No newline at end of file
+exit 0
Modified: trunk/examples/simple/class/50-host-classes
===================================================================
--- trunk/examples/simple/class/50-host-classes 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/class/50-host-classes 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
# assign classes hosts
Modified: trunk/examples/simple/hooks/instsoft.FAIBASE
===================================================================
--- trunk/examples/simple/hooks/instsoft.FAIBASE 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/hooks/instsoft.FAIBASE 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,3 +1,3 @@
-#! /bin/sh
+#! /bin/bash
[ -s $target/etc/kernel-img.conf ] || fcopy -Bi /etc/kernel-img.conf
Modified: trunk/examples/simple/scripts/DEMO/10-misc
===================================================================
--- trunk/examples/simple/scripts/DEMO/10-misc 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/scripts/DEMO/10-misc 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,6 +1,6 @@
-#! /bin/sh
+#! /bin/bash
-# (c) Thomas Lange, 2001-2006, lange at debian.org
+# (c) Thomas Lange, 2001-2007, lange at debian.org
ifclass XORG && {
fcopy -M /etc/X11/xorg.conf
Modified: trunk/examples/simple/scripts/FAIBASE/10-misc
===================================================================
--- trunk/examples/simple/scripts/FAIBASE/10-misc 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/scripts/FAIBASE/10-misc 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,6 +1,6 @@
-#! /bin/sh
+#! /bin/bash
-# (c) Thomas Lange, 2001-2006, lange at debian.org
+# (c) Thomas Lange, 2001-2007, lange at debian.org
error=0 ; trap "error=$((error|1))" ERR
Modified: trunk/examples/simple/scripts/FAIBASE/30-interface
===================================================================
--- trunk/examples/simple/scripts/FAIBASE/30-interface 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/scripts/FAIBASE/30-interface 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
error=0 ; trap "error=$((error|1))" ERR
Modified: trunk/examples/simple/scripts/LAST/50-misc
===================================================================
--- trunk/examples/simple/scripts/LAST/50-misc 2007-02-07 14:37:45 UTC (rev 4228)
+++ trunk/examples/simple/scripts/LAST/50-misc 2007-02-07 21:18:58 UTC (rev 4229)
@@ -1,6 +1,6 @@
-#! /bin/sh
+#! /bin/bash
-# copyright Thomas Lange 2001-2006, lange at debian.org
+# copyright Thomas Lange 2001-2007, lange at debian.org
error=0 ; trap "error=$((error|1))" ERR
More information about the Fai-commit
mailing list