mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[package] base-files: do not assume that "top" is busybox' top, but try to call the applet explicitely
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28862 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
43e043890d
commit
0c1b81f869
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=base-files
|
PKG_NAME:=base-files
|
||||||
PKG_RELEASE:=89
|
PKG_RELEASE:=90
|
||||||
|
|
||||||
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
|
||||||
PKG_BUILD_DEPENDS:=opkg/host
|
PKG_BUILD_DEPENDS:=opkg/host
|
||||||
|
@ -80,7 +80,7 @@ run_ramfs() { # <command> [...]
|
|||||||
kill_remaining() { # [ <signal> ]
|
kill_remaining() { # [ <signal> ]
|
||||||
local sig="${1:-TERM}"
|
local sig="${1:-TERM}"
|
||||||
echo -n "Sending $sig to remaining processes ... "
|
echo -n "Sending $sig to remaining processes ... "
|
||||||
top -bn1 | while read pid ppid user stat vsz pvsz pcpu cmd args; do
|
/bin/busybox top -bn1 2>/dev/null | while read pid ppid user stat vsz pvsz pcpu cmd args; do
|
||||||
case "$pid" in
|
case "$pid" in
|
||||||
[0-9]*) : ;;
|
[0-9]*) : ;;
|
||||||
*) continue ;;
|
*) continue ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user