mirror of
https://github.com/limosek/zaf-plugins.git
synced 2025-01-21 07:25:56 +01:00
Removed script which is in control file
This commit is contained in:
parent
363035fab3
commit
3ad0f3cf1d
@ -1,16 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ${ZAF_LIB_DIR}/zaf.lib.sh
|
||||
. ${ZAF_LIB_DIR}/os.lib.sh
|
||||
. ${ZAF_LIB_DIR}/ctrl.lib.sh
|
||||
|
||||
if [ "${ZAF_PKG}" = "opkg" ]; then
|
||||
AWK='{ print $2" "$5; }'
|
||||
PS="w"
|
||||
else
|
||||
AWK='{ print $1" "$11; }'
|
||||
PS="--no-headers caux"
|
||||
fi
|
||||
|
||||
ps $PS | awk "$AWK" | sort | uniq | sed -e 's/\//\\\//g' -e '$s/.$//' | zaf_discovery '{#PSNAME}' '{#PSUSER}'
|
||||
|
Loading…
Reference in New Issue
Block a user