bump release number
[pingofdeath.git] / disable_pod.sh
1 #! /bin/bash
2 #include INTEL_LICENSE.txt
3 #
4 ########################################################################
5 #
6 # Disable Ping Of Death
7 #
8 ########################################################################
9 #
10 # DESCRIPTION
11 #
12 # The disable_pod function turns off the pod syscntl
13 #
14 # HISTORY
15 #
16 # May 17, 2003    -   Paul Brett <paul.brett@intel.com>
17 #                     Initial version based on the work of 
18 #                     Robert Adams <robert.adams@intel.com> and EMULAB
19 #
20
21 function disable_pod()
22 {
23     local SYSCTL=/sbin/sysctl
24     $SYSCTL -w net.ipv4.icmp_ipod_enabled=0 >/dev/null
25     return 0
26 }
27
28