From e922e193dce047172f518049aae429fcebd7a26f Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT/postscripts/hardeths --- xCAT/postscripts/hardeths | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/hardeths b/xCAT/postscripts/hardeths index 729d22c27..86dcce797 100755 --- a/xCAT/postscripts/hardeths +++ b/xCAT/postscripts/hardeths @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh # pmatch determines if 1st argument string is matched by 2nd argument pattern pmatch () @@ -108,7 +108,7 @@ for nic in `ip link |grep "BROADCAST" |awk '{print $2}' | sed s/://`; do broadcast_line="" fi - + if [ ! -z "$defgw" ]; then gateway_line="gateway $defgw" else @@ -167,7 +167,7 @@ EOF then sed -i '/NETMASK=/d' $NICFILE fi - echo NETMASK=$NETMASK >> $NICFILE + echo NETMASK=$NETMASK >> $NICFILE fi #for netboot/statelite case, restart the network interface. For diskful installation, it is not necessary because the restart of the network will happen at the first boot.