Denys Vlasenko wrote:
Just knowing parameters is not enough. What is passed in the environment?
In other words, I am not only interested in output of
        echo "Params: $*"
command, but also I want to know what "env | sort" says.

Here's the complete debugging script again:

#!/bin/sh
echo >>/tmp/mdev.trace
date >>/tmp/mdev.trace
echo "Params: $*" >>/tmp/mdev.trace
env | sort >>/tmp/mdev.trace
exec /sbin/mdev "$@"

Yah, sorry, I copied the script but didn't pay much attention to the env line. Turns out my busybox wasn't compiled with support for the env and
exec applet, so that's why the script was failing. Will recompile
now and test again then. Sorry for the confusion.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to