Changeset 25882


Ignore:
Timestamp:
2011-03-06T11:40:04+01:00 (7 years ago)
Author:
mb
Message:

omap24xx: Start watchdog with RT priority

Location:
trunk/target/linux/omap24xx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/omap24xx/base-files/etc/init.d/watchdog

    r22534 r25882  
    22# Copyright (C) 2008-2010 OpenWrt.org 
    33 
    4 START=97 
     4START=25 
     5 
    56start() { 
    6         if ! [ -c /dev/watchdog -a -x /sbin/watchdog ]; then 
     7        [ -c /dev/watchdog -a -x /sbin/watchdog ] || { 
    78                echo "WARNING: Watchdog not available. System will reboot soon!" 
    8         else 
    9                 /sbin/watchdog -T 63 -t 53 /dev/watchdog 
    10         fi 
     9                return 1 
     10        } 
     11        /sbin/watchdog -T 60 -t 50 /dev/watchdog 
     12        [ -x /usr/bin/schedtool ] && /usr/bin/schedtool -R -p 60 -n -20 $(pidof watchdog) 
    1113} 
    1214 
  • trunk/target/linux/omap24xx/profiles/100-n810.mk

    r25423 r25882  
    1818        kmod-leds-gpio \ 
    1919        kmod-usb-tahvo kmod-usb-eth-gadget kmod-usb-net kmod-usb-net-cdc-ether \ 
    20         kmod-n810bm maemo-kexec calvaria 
     20        kmod-n810bm maemo-kexec calvaria \ 
     21        schedtool 
    2122endef 
    2223 
Note: See TracChangeset for help on using the changeset viewer.