Changeset 784


Ignore:
Timestamp:
2005-05-02T10:36:22+02:00 (13 years ago)
Author:
mbm
Message:

failsafe variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/default/target_skeleton/etc/preinit

    r428 r784  
    44echo 0x01 > /proc/sys/diag 
    55sleep 1 
    6 if [ $(cat /proc/sys/reset) = 1 ] ; then 
     6if [ $(cat /proc/sys/reset) = 1 ] || [ "$(nvram get failsafe)" = 1 ]; then 
    77  export FAILSAFE=true 
    88  while :; do { echo $(((X=(X+1)%8)%2)) > /proc/sys/diag; sleep $((X==0)); } done & 
Note: See TracChangeset for help on using the changeset viewer.