aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2001-11-19 10:26:48 +0000
committerHarald Hoyer <harald@redhat.com>2001-11-19 10:26:48 +0000
commit8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e (patch)
tree8ade5506ba4502a9151afa10d8d9cc5e6425c371 /sysconfig/network-scripts/network-functions
parent70d1d57a2214ecc45344ea112f45f1ec47312523 (diff)
downloadinitscripts-8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e.tar
initscripts-8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e.tar.gz
initscripts-8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e.tar.bz2
initscripts-8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e.tar.xz
initscripts-8439a7aa971d7a5b2bbc6b8339a32c3eadaf7e9e.zip
added \ on the end of the multiline if
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
-rw-r--r--sysconfig/network-scripts/network-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 2793fa08..4d937ac5 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -179,8 +179,8 @@ add_default_route ()
{
. /etc/sysconfig/network
find_gateway_dev
- if [ "${GATEWAY}" != "" -a
- "${GATEWAY}" != "none" -a
+ if [ "${GATEWAY}" != "" -a \
+ "${GATEWAY}" != "none" -a \
"${GATEWAYDEV}" != "" ] ; then
if ! check_device_down $1; then
if [ "$GATEWAY" = "0.0.0.0" ]; then