usttrace: Use /bin/sh instead of /bin/bash for busybox compatibility
authorJason Wessel <jason.wessel@windriver.com>
Tue, 22 Feb 2011 22:36:03 +0000 (17:36 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Tue, 22 Feb 2011 22:36:03 +0000 (17:36 -0500)
commitec0647137dec0214d6a914b13fb053fe3ac2eb4e
tree031996c3e43c751419924f0d382b7462073abd61
parentfbc70e6fa4665372ad22ecb03c7ff7b4e2b6a019
usttrace: Use /bin/sh instead of /bin/bash for busybox compatibility

The busybox posix like shell does not understand the "function"
directive nor does it understand the syntax for redirecting a file via
a shell expanded variable with $(<$pidfilepath).  Busybox also does
not typically provide a link to /bin/bash since busybox does not
provide bash.

It is possible to work around all these limitations in order to allow
user space tracing to work properly in a busybox based environment
with several syntax changes to the usttrace script.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
usttrace
This page took 0.023496 seconds and 4 git commands to generate.