Skip to content
Snippets Groups Projects
Forked from drm / msm
Loading
user avatar
J.J. Martzki authored
Each sample script sources functions.sh before parameters.sh
which makes $APPEND undefined when trapping EXIT no matter in
append mode or not. Due to this when sample scripts finished
they always do "pgctrl reset" which resets pktgen config.

So move trap to each script after sourcing parameters.sh
and trap EXIT explicitly.

Signed-off-by: default avatarJ.J. Martzki <mars14850@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
a27ac539
History