Changeset 33194


Ignore:
Timestamp:
2012-08-15T15:27:55+02:00 (4 years ago)
Author:
juhosg
Message:

package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx

If the package is installed, it starts the watchdog daemon
on every ar71xx based board.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/om-watchdog/files/om-watchdog.init

    r32610 r33194  
    1212                . /lib/ar71xx.sh 
    1313                local board=$(ar71xx_board_name) 
    14         fi 
    1514 
    16         if [ "$board" = "om2p" ]; then 
    17                 service_start /sbin/om-watchdog 12 
    18         elif [ "$board" = "om2p-lc" ]; then 
    19                 service_start /sbin/om-watchdog 26 
     15                if [ "$board" = "om2p" ]; then 
     16                        service_start /sbin/om-watchdog 12 
     17                elif [ "$board" = "om2p-lc" ]; then 
     18                        service_start /sbin/om-watchdog 26 
     19                fi 
    2020        else 
    2121                #we assume it is om1p in this case 
Note: See TracChangeset for help on using the changeset viewer.