diff options
author | Bill Nottingham <notting@redhat.com> | 2000-07-25 04:41:21 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-07-25 04:41:21 +0000 |
commit | 6f4831def652759ede8fbcb69e08ccf813b92df2 (patch) | |
tree | 3aeccf4d634302959a59cc62d6347f28fa126bb7 | |
parent | e0ab038243d09f66f1fedf4c0b3ad6a2135476d2 (diff) | |
download | initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.gz initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.bz2 initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.tar.xz initscripts-6f4831def652759ede8fbcb69e08ccf813b92df2.zip |
run an ifup-pre-local script if it exists
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index e466f360..d38ff995 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -55,6 +55,10 @@ if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then DYNCONFIG=true fi +if [ -x /sbin/ifup-pre-local ]; then + /sbin/ifup-pre-local ${DEVICE} +fi + OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${DEVICETYPE}" if [ -x $OTHERSCRIPT ]; then |