aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-ipv6
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 10:37:41 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 10:37:41 +0000
commite4088390f4a3d8f3d3a59befb8b571b07826f523 (patch)
treee3183dc035380304b4bdfb43e3e6196a501187eb /sysconfig/network-scripts/ifdown-ipv6
parent7f968d6ce159032e5f170dcedefad83894bfb95e (diff)
downloadinitscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar
initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.gz
initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.bz2
initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.tar.xz
initscripts-e4088390f4a3d8f3d3a59befb8b571b07826f523.zip
- set PATH also in /etc/sysconfig/network-scripts/network-functions
Diffstat (limited to 'sysconfig/network-scripts/ifdown-ipv6')
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv64
1 files changed, 1 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6
index 41026b5b..f40d6b21 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -55,9 +55,7 @@ REALDEVICE=`echo ${DEVICE} | sed 's/:.*//g'`
# Test whether IPv6 should be configured, else stop
[ "${NETWORKING_IPV6}" = "yes" ] || exit 0
-if [ ! -f /etc/sysconfig/network-scripts/network-functions-ipv6 ]; then
- exit 1
-fi
+[ -f /etc/sysconfig/network-scripts/network-functions-ipv6 ] || exit 1
# Source IPv6 helper functions
. /etc/sysconfig/network-scripts/network-functions-ipv6