diff options
author | Bill Nottingham <notting@redhat.com> | 2000-03-20 16:31:24 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-03-20 16:31:24 +0000 |
commit | 172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4 (patch) | |
tree | 7081d5104e3b5d3bd7227644a4cb1df359454cc6 /sysconfig | |
parent | 0e0696f7b4b5c0b5ab1d834542e4828ae7735a8f (diff) | |
download | initscripts-172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4.tar initscripts-172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4.tar.gz initscripts-172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4.tar.bz2 initscripts-172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4.tar.xz initscripts-172da86ac39fa5c6e9e51401ab1f8fa7d90a6bf4.zip |
allow for setting of MTU for a device
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 0089642c..d55762ba 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -110,8 +110,8 @@ else if [ -z "$NETWORK" ]; then eval `/bin/ipcalc --network ${IPADDR} ${NETMASK}` fi - - ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ${ARP:+arp} + + ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST} ${ARP:+arp} ${MTU:+mtu $MTU} # don't re-add subnet route on 2.2 kernels, but add a route # to a non-local subnet. # stupid hack, but it should work |