Changeset 28611


Ignore:
Timestamp:
2011-10-26T20:30:55+02:00 (6 years ago)
Author:
nbd
Message:

netifd: if core dump support is enabled, use it. also add some delay after start to avoid race conditions with other init scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/netifd/files/etc/init.d/netifd

    r28499 r28611  
    55start() { 
    66        stop 
     7        [ -e /proc/sys/kernel/core_pattern ] && { 
     8                ulimit -c unlimited 
     9                echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern 
     10        } 
    711        start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/netifd 
     12        sleep 1 
    813} 
    914 
Note: See TracChangeset for help on using the changeset viewer.