aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-15 19:56:00 +0000
committerBill Nottingham <notting@redhat.com>2001-01-15 19:56:00 +0000
commite72a023cf0e95adbdc564ccb15b31e4f896ce0a7 (patch)
treef5ab6970252cf6831ef92d2041249d91d28815dd /initscripts.spec
parentdc494a0c9da051f59bfb76f6828699a87f92ecba (diff)
downloadinitscripts-e72a023cf0e95adbdc564ccb15b31e4f896ce0a7.tar
initscripts-e72a023cf0e95adbdc564ccb15b31e4f896ce0a7.tar.gz
initscripts-e72a023cf0e95adbdc564ccb15b31e4f896ce0a7.tar.bz2
initscripts-e72a023cf0e95adbdc564ccb15b31e4f896ce0a7.tar.xz
initscripts-e72a023cf0e95adbdc564ccb15b31e4f896ce0a7.zip
ip_always_defrag goes *poof*
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/initscripts.spec b/initscripts.spec
index acff52d3..9432c08a 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -150,16 +150,12 @@ if [ -n "$FORWARD_IPV4" -a "$FORWARD_IPV4" != "no" -a "$FORWARD_IPV4" != "false"
echo "# added by initscripts install on `date`" >> /etc/sysctl.conf
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
fi
-if [ "$DEFRAG_IPV4" = "yes" -o "$DEFRAG_IPV4" = "true" ]; then
- echo "# added by initscripts install on `date`" >> /etc/sysctl.conf
- echo "net.ipv4.ip_always_defrag = 1" >> /etc/sysctl.conf
-fi
newnet=`mktemp /etc/sysconfig/network.XXXXXX`
if [ -n "$newnet" ]; then
sed "s|FORWARD_IPV4.*|# FORWARD_IPV4 removed; see /etc/sysctl.conf|g" \
/etc/sysconfig/network > $newnet
- sed "s|DEFRAG_IPV4.*|# DEFRAG_IPV4 removed; see /etc/sysctl.conf|g" \
+ sed "s|DEFRAG_IPV4.*|# DEFRAG_IPV4 removed; obsolete in 2.4. kernel|g" \
$newnet > /etc/sysconfig/network
rm -f $newnet
fi