if [ -n "$PANIC_REBOOT_TIME" -a "$PANIC_REBOOT_TIME" -gt "0" -a -f /proc/sys/kernel/panic ]; then
show 'Setting %s seconds for kernel reboot after panic' "$PANIC_REBOOT_TIME"; busy
- # NOTE: you should use /etc/sysctl.conf instead
+ # DEPRECATED: use /etc/sysctl.conf or kernel commandline instead
if sysctl -q -w kernel.panic=$PANIC_REBOOT_TIME; then ok; else fail; fi
fi
# Setup kernel space PNP (2.4.x)
RUN_KERNELPNP=no
-# After how many seconds reboot system after kernel panic ?
-# 0 - never reboot system (suggested 60)
-PANIC_REBOOT_TIME=0
-
# Do not allow users to login when system is starting
# (but allow when it end "starting" process) ?
DELAY_LOGIN=yes
# Send ICMP redirects to other hosts ?
# net.ipv4.conf.all.send_redirects = 1
-# Ignore all ICMP echo requests ?
+# Ignore all ICMP echo requests ?
# net.ipv4.icmp_echo_ignore_all = 1
# Ignore ICMP echo requests to broadcast and multicast addresses ?
# Bug-to-bug compatibility with some broken printers. On retransmit
# try to send bigger packets to work around bugs in certain TCP
-# stacks. Can be turned off by setting IPV4_RETRANS_COLLAPSE to ,,yes''.
+# stacks. Can be turned off by setting IPV4_RETRANS_COLLAPSE to ,,yes''.
# net.ipv4.tcp_retrans_collapse = 1
-
+
# Disable select acknowledgments after RFC2018 ?
# TCP may experience poor performance when multiple packets are lost
# from one window of data. With the limited information available
# Enable the magic-sysrq key
kernel.sysrq = 1
+# After how many seconds reboot system after kernel panic?
+# 0 - never reboot system (suggested 60)
+#kernel.panic = 60
+
#
# GRSECURITY http://www.grsecurity.org
#