toltec
toltec copied to clipboard
bash-completion for killall doesn't work
Bash completion for killall assumes that ps has -e
, -f
, and -o
, but ps embedded on the device has no flags other than -h
. Busybox in entware only adds the -w
flag.
/opt/usr/share/bash-completion/bash-completion
contains the helper function _pnames
that is used to return all possible process names. This will need to be adjusted to work on the rM system, as well as the other helper methods like _pids
Will take a look at it tomorrow. Probably requires adding a patching the bash-completion package as that on its own was not changed afaik.
@LinusCDE did you get a chance to look at this further?
Didn't get one until now sadly. Still on my todo list. Will try to get to it over the next days. Apologies for the waiting.
No worries!
@LinusCDE have you had time to look into this?