Changeset 27380


Ignore:
Timestamp:
2011-07-03T17:01:43+02:00 (7 years ago)
Author:
juhosg
Message:

ramips: disable watchdog on sysupgrade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh

    r26466 r27380  
    3737        esac 
    3838} 
     39 
     40disable_watchdog() { 
     41        killall watchdog 
     42        ( ps | grep -v 'grep' | grep '/dev/watchdog' ) && { 
     43                echo 'Could not disable watchdog' 
     44                return 1 
     45        } 
     46} 
     47 
     48append sysupgrade_pre_upgrade disable_watchdog 
Note: See TracChangeset for help on using the changeset viewer.