Changeset 28862


Ignore:
Timestamp:
2011-11-08T19:48:38+01:00 (6 years ago)
Author:
jow
Message:

[package] base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely

Location:
trunk/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/base-files/Makefile

    r28860 r28862  
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=89 
     13PKG_RELEASE:=90 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
  • trunk/package/base-files/files/lib/upgrade/common.sh

    r28732 r28862  
    8181        local sig="${1:-TERM}" 
    8282        echo -n "Sending $sig to remaining processes ... " 
    83         top -bn1 | while read pid ppid user stat vsz pvsz pcpu cmd args; do 
     83        /bin/busybox top -bn1 2>/dev/null | while read pid ppid user stat vsz pvsz pcpu cmd args; do 
    8484                case "$pid" in 
    8585                        [0-9]*) : ;; 
Note: See TracChangeset for help on using the changeset viewer.