From 5c6873a1df1fa3a033fcb0197f21570949e5f3e3 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 14 Jul 2011 16:44:38 +0000 Subject: [PATCH] Correct syntax error in previous checkin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10085 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/xcat-cmdline.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-nbroot2/xcat-cmdline.sh b/xCAT-nbroot2/xcat-cmdline.sh index b79f0175b..85d8fc89d 100755 --- a/xCAT-nbroot2/xcat-cmdline.sh +++ b/xCAT-nbroot2/xcat-cmdline.sh @@ -57,7 +57,7 @@ export PUBKEY mkdir -p /var/lib/lldpad echo 'lldp :' >> /var/lib/lldpad/lldpad.conf echo '{' >> /var/lib/lldpad/lldpad.conf -for iface in `ip link |grep -v '^ '|awk '{print $2}'|sed -e 's/:$//|grep -v lo'`; do +for iface in `ip link |grep -v '^ '|awk '{print $2}'|sed -e 's/:$//'|grep -v lo`; do echo "$iface :" >> /var/lib/lldpad/lldpad.conf echo "{" >> /var/lib/lldpad/lldpad.conf echo "tlvid00000006 :" >> /var/lib/lldpad/lldpad.conf