From 647e6135229431cf8ac23de77403aaac4921c972 Mon Sep 17 00:00:00 2001 From: datajerk Date: Thu, 24 Apr 2008 16:18:41 +0000 Subject: [PATCH] Changed bash to sh for AIX. NOTE: dunno if $() in /bin/sh on AIX will work, may need to change to ``. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/share/xcat/netboot/add-on/torque/add_torque | 2 +- .../share/xcat/netboot/add-on/torque/scripts/epilogue | 2 +- .../share/xcat/netboot/add-on/torque/scripts/killuser | 2 +- xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/pbspsh | 2 +- .../share/xcat/netboot/add-on/torque/scripts/prologue | 2 +- .../share/xcat/netboot/add-on/torque/scripts/setupnode | 2 +- .../share/xcat/netboot/add-on/torque/scripts/setupnode2 | 2 +- .../share/xcat/netboot/add-on/torque/scripts/takedownnode | 2 +- .../share/xcat/netboot/add-on/torque/scripts/takedownnode2 | 2 +- xCAT-server-2.0/share/xcat/netboot/add-on/torque/xpbsnodes | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/add_torque b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/add_torque index c0cc8c9af..5295c4f5f 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/add_torque +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/add_torque @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh MYNAME=$(basename $0) diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/epilogue b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/epilogue index 89b5b9c08..e6f54ceb7 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/epilogue +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/epilogue @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/killuser b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/killuser index 44c4cab5c..9d0dddfc8 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/killuser +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/killuser @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/pbspsh b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/pbspsh index da35edbac..58d8d8d20 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/pbspsh +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/pbspsh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #v2.0 #(c)IBM Corp diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/prologue b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/prologue index 7a6cebc38..a4ed9918f 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/prologue +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/prologue @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode index a57cdf41d..e7bc1a697 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode2 b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode2 index 29fff90a9..b12f03713 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode2 +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/setupnode2 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode index fef9d3863..7a3bb3569 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode2 b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode2 index 79a286842..08fab61ad 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode2 +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/scripts/takedownnode2 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp # diff --git a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/xpbsnodes b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/xpbsnodes index 5b0522bf3..f5134d711 100755 --- a/xCAT-server-2.0/share/xcat/netboot/add-on/torque/xpbsnodes +++ b/xCAT-server-2.0/share/xcat/netboot/add-on/torque/xpbsnodes @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #egan@us.ibm.com #(C)IBM Corp