[Fai-commit] r5748 - in trunk: debian lib

Thomas Lange lange at alioth.debian.org
Thu Mar 25 15:49:35 UTC 2010


Author: lange
Date: 2010-03-25 15:49:35 +0000 (Thu, 25 Mar 2010)
New Revision: 5748

Modified:
   trunk/debian/changelog
   trunk/lib/disk-info
Log:
disk-info: remove local to make it a pure shell script

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2010-03-25 13:05:48 UTC (rev 5747)
+++ trunk/debian/changelog	2010-03-25 15:49:35 UTC (rev 5748)
@@ -1,6 +1,7 @@
 fai (3.3.5~beta1) unstable; urgency=low
 
   * fai-chboot: do not print templates containing a number as subnet
+  * disk-info: remove local to make it a pure shell script
 
  -- Thomas Lange <lange at debian.org>  Thu, 25 Mar 2010 14:05:05 +0100
 

Modified: trunk/lib/disk-info
===================================================================
--- trunk/lib/disk-info	2010-03-25 13:05:48 UTC (rev 5747)
+++ trunk/lib/disk-info	2010-03-25 15:49:35 UTC (rev 5748)
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 
 ### BEGIN SUBROUTINE INFO
 # Provides-Var:    none
@@ -8,8 +8,6 @@
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 diskandsize() {
 
-    local isdisk major minor blocks device suffix
-
     while read major minor blocks device suffix; do
 	isdisk=1
 	# skip ide cdrom




More information about the Fai-commit mailing list