diff options
author | Bill Nottingham <notting@redhat.com> | 2006-09-11 17:15:01 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-09-11 17:15:01 +0000 |
commit | 0f552f5162c9fb27337aab485e28c3b33035e6a6 (patch) | |
tree | 06c263daff70dbfb6735d7d7a47505b634f37348 | |
parent | 31ccd7f5174df3a895e67bf40daa3d5ea4cf9b6e (diff) | |
download | initscripts-0f552f5162c9fb27337aab485e28c3b33035e6a6.tar initscripts-0f552f5162c9fb27337aab485e28c3b33035e6a6.tar.gz initscripts-0f552f5162c9fb27337aab485e28c3b33035e6a6.tar.bz2 initscripts-0f552f5162c9fb27337aab485e28c3b33035e6a6.tar.xz initscripts-0f552f5162c9fb27337aab485e28c3b33035e6a6.zip |
pass path to '.' always (#206035)
34 files changed, 35 insertions, 35 deletions
diff --git a/ppp/ip-down.ipv6to4 b/ppp/ip-down.ipv6to4 index 850005d8..1fe3e086 100644 --- a/ppp/ip-down.ipv6to4 +++ b/ppp/ip-down.ipv6to4 @@ -44,7 +44,7 @@ fi # Source IPv4 helper functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/ppp/ip-up.ipv6to4 b/ppp/ip-up.ipv6to4 index 723554ff..0491ce7e 100644 --- a/ppp/ip-up.ipv6to4 +++ b/ppp/ip-up.ipv6to4 @@ -50,7 +50,7 @@ fi # Source IPv4 helper functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/ppp/ipv6-down b/ppp/ipv6-down index c1f5f5d0..bc960483 100644 --- a/ppp/ipv6-down +++ b/ppp/ipv6-down @@ -40,7 +40,7 @@ REALDEVICE=$1 . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$LOGDEVICE [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/ppp/ipv6-up b/ppp/ipv6-up index 8d545644..2fe075d9 100644 --- a/ppp/ipv6-up +++ b/ppp/ipv6-up @@ -44,8 +44,8 @@ REALDEVICE=$1 . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions -. network-functions-ipv6 +. ./network-functions +. ./network-functions-ipv6 CONFIG=$LOGDEVICE [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0a8be616..29a09940 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -39,7 +39,7 @@ fi CWD=`pwd` cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions # find all the interfaces besides loopback. # ignore aliases, alternative configurations, and editor backup files diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index ab101760..1bb64dff 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -5,7 +5,7 @@ unset WINDOW # defined by screen, conflicts with our usage . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifdown-bnep b/sysconfig/network-scripts/ifdown-bnep index fbdf56f6..9c5e0a73 100755 --- a/sysconfig/network-scripts/ifdown-bnep +++ b/sysconfig/network-scripts/ifdown-bnep @@ -3,7 +3,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index b894927b..826fd309 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -12,7 +12,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifdown-ipsec b/sysconfig/network-scripts/ifdown-ipsec index 7c7de7fa..82a71a9a 100755 --- a/sysconfig/network-scripts/ifdown-ipsec +++ b/sysconfig/network-scripts/ifdown-ipsec @@ -2,7 +2,7 @@ PATH=/sbin:/usr/sbin/:/bin:/usr/bin cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "${CONFIG}" ] || CONFIG=ifcfg-${1} diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6 index 64ee246d..2872aa29 100755 --- a/sysconfig/network-scripts/ifdown-ipv6 +++ b/sysconfig/network-scripts/ifdown-ipv6 @@ -42,7 +42,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index ed0dd67c..0a1b938a 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -3,7 +3,7 @@ # it is brought down explicitly. cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions unset REALDEVICE if [ "$1" = --realdevice ] ; then diff --git a/sysconfig/network-scripts/ifdown-ppp b/sysconfig/network-scripts/ifdown-ppp index 9455d48a..a3a558d8 100755 --- a/sysconfig/network-scripts/ifdown-ppp +++ b/sysconfig/network-scripts/ifdown-ppp @@ -1,7 +1,7 @@ #! /bin/bash cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 source_config diff --git a/sysconfig/network-scripts/ifdown-sit b/sysconfig/network-scripts/ifdown-sit index 36603177..89d26677 100755 --- a/sysconfig/network-scripts/ifdown-sit +++ b/sysconfig/network-scripts/ifdown-sit @@ -24,7 +24,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifdown-sl b/sysconfig/network-scripts/ifdown-sl index 11d9e99d..d7ec0fa6 100755 --- a/sysconfig/network-scripts/ifdown-sl +++ b/sysconfig/network-scripts/ifdown-sl @@ -1,7 +1,7 @@ #!/bin/bash cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 source_config diff --git a/sysconfig/network-scripts/ifdown-tunnel b/sysconfig/network-scripts/ifdown-tunnel index 0e8d1cc9..5aa6d542 100644 --- a/sysconfig/network-scripts/ifdown-tunnel +++ b/sysconfig/network-scripts/ifdown-tunnel @@ -17,7 +17,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 503b53c5..f22cc851 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -14,7 +14,7 @@ unset WINDOW # defined by screen, conflicts with our usage . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases index 7d0acc35..8b2dc732 100755 --- a/sysconfig/network-scripts/ifup-aliases +++ b/sysconfig/network-scripts/ifup-aliases @@ -72,7 +72,7 @@ PARENTCONFIG=${2:-ifcfg-$device} parent_device=$device cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions # Grab the current configuration of any running aliases device info is placed # into variables in the form: rdev_$DEVICE_addr, dev_$DEVICE_mb and diff --git a/sysconfig/network-scripts/ifup-bnep b/sysconfig/network-scripts/ifup-bnep index 787e1c6d..5aff2777 100755 --- a/sysconfig/network-scripts/ifup-bnep +++ b/sysconfig/network-scripts/ifup-bnep @@ -3,7 +3,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifup-ctc b/sysconfig/network-scripts/ifup-ctc index 547fe094..8c0317b1 100755 --- a/sysconfig/network-scripts/ifup-ctc +++ b/sysconfig/network-scripts/ifup-ctc @@ -11,7 +11,7 @@ # cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions . /etc/sysconfig/network diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 89eca612..572c5171 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -12,7 +12,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifup-ippp b/sysconfig/network-scripts/ifup-ippp index e53cb36a..e17f0b62 100755 --- a/sysconfig/network-scripts/ifup-ippp +++ b/sysconfig/network-scripts/ifup-ippp @@ -7,7 +7,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions # Get global network configuration [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network diff --git a/sysconfig/network-scripts/ifup-ipsec b/sysconfig/network-scripts/ifup-ipsec index ab10237c..ebad848c 100755 --- a/sysconfig/network-scripts/ifup-ipsec +++ b/sysconfig/network-scripts/ifup-ipsec @@ -28,7 +28,7 @@ handle_keys() { . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "${CONFIG}" ] || CONFIG=ifcfg-${1} diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6 index 8a960f69..caadebb1 100755 --- a/sysconfig/network-scripts/ifup-ipv6 +++ b/sysconfig/network-scripts/ifup-ipv6 @@ -57,7 +57,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifup-ipx b/sysconfig/network-scripts/ifup-ipx index c08e91c4..4bc5dc61 100755 --- a/sysconfig/network-scripts/ifup-ipx +++ b/sysconfig/network-scripts/ifup-ipx @@ -16,7 +16,7 @@ fi case $IPX in yes|true) ;; *) exit 0 ;; esac cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifup-iucv b/sysconfig/network-scripts/ifup-iucv index 645f6761..bce75aee 100755 --- a/sysconfig/network-scripts/ifup-iucv +++ b/sysconfig/network-scripts/ifup-iucv @@ -13,7 +13,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifup-plip b/sysconfig/network-scripts/ifup-plip index dc766aa8..48bcc2ca 100755 --- a/sysconfig/network-scripts/ifup-plip +++ b/sysconfig/network-scripts/ifup-plip @@ -1,7 +1,7 @@ #!/bin/sh cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 source_config diff --git a/sysconfig/network-scripts/ifup-plusb b/sysconfig/network-scripts/ifup-plusb index a31608ab..e185e647 100755 --- a/sysconfig/network-scripts/ifup-plusb +++ b/sysconfig/network-scripts/ifup-plusb @@ -12,7 +12,7 @@ # cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 source_config diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index 54bc27f9..6fc0753f 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -1,7 +1,7 @@ #!/bin/sh cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions [ -f ../network ] && . ../network diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp index eb749fc4..6335ca91 100755 --- a/sysconfig/network-scripts/ifup-ppp +++ b/sysconfig/network-scripts/ifup-ppp @@ -3,7 +3,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions # ifup-post for PPP is handled through /etc/ppp/ip-up if [ "${1}" = daemon ] ; then diff --git a/sysconfig/network-scripts/ifup-sit b/sysconfig/network-scripts/ifup-sit index d884f026..33f2553a 100755 --- a/sysconfig/network-scripts/ifup-sit +++ b/sysconfig/network-scripts/ifup-sit @@ -34,7 +34,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 [ -f "$CONFIG" ] || CONFIG=ifcfg-$CONFIG diff --git a/sysconfig/network-scripts/ifup-sl b/sysconfig/network-scripts/ifup-sl index 8e745bb5..a9eae832 100755 --- a/sysconfig/network-scripts/ifup-sl +++ b/sysconfig/network-scripts/ifup-sl @@ -14,7 +14,7 @@ fi shift cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 source_config diff --git a/sysconfig/network-scripts/ifup-tunnel b/sysconfig/network-scripts/ifup-tunnel index 7e5058f1..9b35ceed 100644 --- a/sysconfig/network-scripts/ifup-tunnel +++ b/sysconfig/network-scripts/ifup-tunnel @@ -17,7 +17,7 @@ . /etc/init.d/functions cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions CONFIG=$1 need_config "$CONFIG" diff --git a/sysconfig/network-scripts/init.ipv6-global b/sysconfig/network-scripts/init.ipv6-global index faec4d18..0f332d66 100755 --- a/sysconfig/network-scripts/init.ipv6-global +++ b/sysconfig/network-scripts/init.ipv6-global @@ -34,7 +34,7 @@ . /etc/sysconfig/network cd /etc/sysconfig/network-scripts -. network-functions +. ./network-functions # Get action and hook position ACTION="$1" diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6 index 8cfa9158..bb8f3af7 100644 --- a/sysconfig/network-scripts/network-functions-ipv6 +++ b/sysconfig/network-scripts/network-functions-ipv6 @@ -1,6 +1,6 @@ #!/bin/sh # -# network-functions-ipv6 +. ./network-functions-ipv6 # # Taken from: network-functions-ipv6 # (P) & (C) 1997-2005 by Peter Bieringer <pb@bieringer.de> |