diff options
author | Michael K. Johnson <johnsonm@redhat.com> | 1997-09-18 19:49:46 +0000 |
---|---|---|
committer | Michael K. Johnson <johnsonm@redhat.com> | 1997-09-18 19:49:46 +0000 |
commit | b49499f63193f2e1be55badd92b0c7ed203e8dc7 (patch) | |
tree | af452ce5d2aa3fbeef0dca5cba6fdfa906376196 /sysconfig/network-scripts/ifup | |
parent | 474a704b1a42ce6d44a79b6dacf06d9ba2b780ad (diff) | |
download | initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.gz initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.bz2 initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.tar.xz initscripts-b49499f63193f2e1be55badd92b0c7ed203e8dc7.zip |
Support alternative device configurations.
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index ab1e6f7f..359ef3cb 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -3,6 +3,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin cd /etc/sysconfig/network-scripts +. network-functions + CONFIG=$1 [ -z "$CONFIG" ] && { @@ -24,7 +26,7 @@ if [ $UID != 0 ]; then exit 1 fi -. $CONFIG +source_config if [ "foo$2" = "fooboot" -a "${ONBOOT}" = "no" ] then |