From 4dd32396f8c1a2e1e5f8f9c5e7fcf057959b4411 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 15 May 2008 21:00:34 +0000 Subject: [PATCH] -Fix xcatdsklspost mistake git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1418 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 440dc4069..6bca3e78c 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -14,7 +14,7 @@ fi let SLI=$RANDOM%10 sleep $SLI -SIP=`grep dhcp-server-identifier /var/lib/dhclient/dhclient-*.leases|tail -n 1|awk '{print $3}'|sed -e 's/;//'` +SIP=`grep -h dhcp-server-identifier /var/lib/dhclient/dhclient-*.leases|tail -n 1|awk '{print $3}'|sed -e 's/;//'` if grep 'rw /rw tmpfs ' /proc/mounts >& /dev/null; then touch /var/lock/subsys/xcatmounts echo '#!/bin/bash' > /etc/rc6.d/K10xcatmounts