From 31832bc8fad027682f057b131a5c5dabf4ac4978 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 29 Nov 2016 08:16:28 -0500 Subject: [PATCH] change the shebang of xcatpostinit1 to bash, since xcatpostinit1 used some bash features, in case that sh is not linked to bash --- xCAT/postscripts/xcatpostinit1 | 2 +- xCAT/postscripts/xcatpostinit1.install | 2 +- xCAT/postscripts/xcatpostinit1.netboot | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/xcatpostinit1 b/xCAT/postscripts/xcatpostinit1 index e4966b677..2af370840 100755 --- a/xCAT/postscripts/xcatpostinit1 +++ b/xCAT/postscripts/xcatpostinit1 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html # This script is deprecated, please use xcatpostinit1.install instead # chkconfig: 345 84 59 diff --git a/xCAT/postscripts/xcatpostinit1.install b/xCAT/postscripts/xcatpostinit1.install index fcbd7bbe9..6a42d5e15 100755 --- a/xCAT/postscripts/xcatpostinit1.install +++ b/xCAT/postscripts/xcatpostinit1.install @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html # chkconfig: 345 84 59 # description: the hook for systemd service unit to run PB and report node status on diskful node diff --git a/xCAT/postscripts/xcatpostinit1.netboot b/xCAT/postscripts/xcatpostinit1.netboot index eae32c188..099c0b725 100755 --- a/xCAT/postscripts/xcatpostinit1.netboot +++ b/xCAT/postscripts/xcatpostinit1.netboot @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html # chkconfig: 345 84 59 # description: the hook in systemd service unit to run PB or report node status on diskless & statelite node