USB script

Albert D. Cahalan (acahalan@cs.uml.edu)
Wed, 28 Apr 1999 22:29:59 -0400 (EDT)


The file linux/drivers/usb/restart contains this line:
UPID=`ps aux | grep uhci-control | grep -v grep | awk '{print $2}'`

That isn't such a great way to do it. I suggest this for now:
UPID=`ps auxc | grep '^root .* uhci-control$' | awk '{print $2}'`

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/