On Tue, Aug 13, 2002 at 06:56:49PM +0200, Ivan Lloro wrote: > As LEAF is usually used in stand-alone routers- > gateways I suggest passing to the kernel the argument > "panic=X" by default. "X" is the number of seconds > the system will wait before automatically rebooting > itself after a kernel panic. I think it's an interesting > improvement.
This is already in the /proc filesystem; Oxygen should already be making use of this. You can set this up (to reset after two minutes - or 120 seconds - for example) without changing kernel parameters one of several ways: 1. Command: sysctl -w kernel.panic=120 2. Control file: echo "kernel.panic=120" >> /etc/sysctl.conf sysctl -p 3. /proc filesystem: echo 120 >> /proc/sys/kernel/panic The sysctl command should be present in Oxygen, and may not be present in other versions. ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel