]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Bugfixing in files/rc.local
authorFrank Brehm <frank.brehm@profitbricks.com>
Wed, 19 Nov 2014 10:53:15 +0000 (11:53 +0100)
committerFrank Brehm <frank.brehm@profitbricks.com>
Wed, 19 Nov 2014 10:53:15 +0000 (11:53 +0100)
create-grml-squash.sh
files/rc.local

index 97300260fa2089ed91acf5ebab2446e17896c61e..5c022b26dbe7d9905d9568052e9a20ae20cd61fd 100755 (executable)
@@ -51,7 +51,7 @@ fi
 ORIG_IMG="/mnt/grml/live/grml64-full/grml64-full.squashfs"
 TARGET_DIR="/var/tmp/grml"
 
-PACKAGES="infiniband-diags opensm bc git libpcre3 mbuffer lsscsi bind9-host bind9utils megacli lsitools"
+PACKAGES="infiniband-diags opensm bc git libpcre3 mbuffer lsscsi bind9-host bind9utils megacli lsitools storage-tools"
 
 MY_BASE=$(basename $0 )
 MY_DIR=$( readlink -f $( dirname $0 ) )
index 824a176875a8e774c968f7c4e45adb14fc4cd13d..0d6b1ebb2ac3b1da44dd9b736cda33e97367cdec 100755 (executable)
@@ -36,7 +36,7 @@ if [[ -d /sys/class/infiniband ]] ; then
 fi
 
 wget http://mgmt/liveboot-turbas/grml.sh -O /tmp/grml.sh ||true
-if [[ -f /tmp/grml.sh -a -s /tmp/grml.sh ]] ; then
+if [[ -f /tmp/grml.sh && -s /tmp/grml.sh ]] ; then
     chmod 755 /tmp/grml.sh ||true
     /tmp/grml.sh ||true
 fi