This commit was generated by cvs2svn to compensate for changes in r45,
[pingofdeath.git] / disable_pod.sh
diff --git a/disable_pod.sh b/disable_pod.sh
new file mode 100755 (executable)
index 0000000..bba89f8
--- /dev/null
@@ -0,0 +1,28 @@
+#! /bin/bash
+#include INTEL_LICENSE.txt
+#
+########################################################################
+#
+# Disable Ping Of Death
+#
+########################################################################
+#
+# DESCRIPTION
+#
+# The disable_pod function turns off the pod syscntl
+#
+# HISTORY
+#
+# May 17, 2003    -   Paul Brett <paul.brett@intel.com>
+#                     Initial version based on the work of 
+#                     Robert Adams <robert.adams@intel.com> and EMULAB
+#
+
+function disable_pod()
+{
+    local SYSCTL=/sbin/sysctl
+    $SYSCTL -w net.ipv4.icmp_ipod_enabled=0 >/dev/null
+    return 0
+}
+
+