From a21a3c7cf09552c65568b13d4386f861f6266c91 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 17 May 2009 19:02:38 +0000 Subject: Ignore error in ifdown script when determining status git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8887 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/lfs/sysconfig/network-devices/ifdown | 2 +- chapter01/changelog.xml | 3 +++ packages.ent | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bootscripts/lfs/sysconfig/network-devices/ifdown b/bootscripts/lfs/sysconfig/network-devices/ifdown index b836cb8ef..1fb69aa44 100644 --- a/bootscripts/lfs/sysconfig/network-devices/ifdown +++ b/bootscripts/lfs/sysconfig/network-devices/ifdown @@ -82,7 +82,7 @@ for file in ${FILES}; do done if [ -z "${2}" ]; then - link_status=`ip link show $1` + link_status=`ip link show $1 2>/dev/null` if [ -n "${link_status}" ]; then if echo "${link_status}" | grep -q UP; then boot_mesg "Bringing down the ${1} interface..." diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a90cedf77..bc7bfdcc4 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,9 @@ 2009-05-17 + + [bdubbs] - Ignore error in ifdown script when determining status. + [bdubbs] - Add gettext upstream patches. Fixes diff --git a/packages.ent b/packages.ent index de492a49e..7410d8d4b 100644 --- a/packages.ent +++ b/packages.ent @@ -288,7 +288,7 @@ - + -- cgit v1.2.3-54-g00ecf