OpenWrt Image Release: 2010-12-14
xiangfu at sharism.cc
Fri Dec 17 08:38:11 EST 2010
On 12/17/2010 06:11 AM, David Kuehling wrote:
> I misunderstood the problem. The problem is that /usr/bin/gmenu2x is a
> shell script. So inittab is ok, as you write. But there is still a
> problem: the gmenu2x shellscript just launches the real gmenu2x
> (/usr/share/gmenu2x/gmenu2x) as a sub-process, so both processes have to
> co-exist in memory. The more efficient solution would be to have
> exec /usr/share/gmenu2x/gmenu2x
> as last command in /usr/bin/gmenu2x , so the executable *replaces* the
> shell-script in memory.
> I just tried that, unfortunately gmenu2x immediately quits when started
> via 'exec'. But only when the shell-script is running from inittab.
> Strange, currently have no idea where this is coming from.
the gmenu2x need "export SDL_NOMOUSE=1", if there is no such variable, it will exit.
-- Qi RSS feed, http://en.qi-hardware.com/feed/rss20.xml --
More information about the discussion