From 40e2a50086c4a0a35c16e416f80ed5577657be58 Mon Sep 17 00:00:00 2001 From: immarvin Date: Sun, 3 Jul 2016 22:54:15 -0400 Subject: [PATCH] rename bar.awk to updateflag --- xCAT-server/share/xcat/install/scripts/pre.sles | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/share/xcat/install/scripts/pre.sles b/xCAT-server/share/xcat/install/scripts/pre.sles index 64115e6a5..cccf88a3c 100644 --- a/xCAT-server/share/xcat/install/scripts/pre.sles +++ b/xCAT-server/share/xcat/install/scripts/pre.sles @@ -27,7 +27,7 @@ XCATDHOST="#XCATVAR:XCATMASTER#" cat << 'EOF' #INCLUDE:#TABLE:site:key=installdir:value#/postscripts/updateflag.awk# EOF -) > /tmp/bar.awk +) > /tmp/updateflag if [ ! -c /dev/vcs ]; then @@ -103,15 +103,15 @@ BEGIN { EOF chmod 755 /tmp/foo.awk -chmod 755 /tmp/bar.awk +chmod 755 /tmp/updateflag -/tmp/bar.awk $XCATDHOST $XCATDPORT "installmonitor" & +/tmp/updateflag $XCATDHOST $XCATDPORT "installmonitor" & NODESTATUS=#TABLEBLANKOKAY:site:key=nodestatus:value# if [ -z "$NODESTATUS" ] || [ "$NODESTATUS" != "0" -a "$NODESTATUS" != "N" -a "$NODESTATUS" != "n" ]; then - /tmp/bar.awk $XCATDHOST $XCATDPORT "installstatus installing" & + /tmp/updateflag $XCATDHOST $XCATDPORT "installstatus installing" & fi /tmp/foo.awk >/tmp/foo.log 2>&1 &