Re: how to restart userland?
From: Francois Romieu
Date: Mon Nov 03 2003 - 16:11:26 EST
Tomas Szepe <szepe@xxxxxxxxxxxxxxx> :
> OK, that sounds like a plan. There's one problem, though -- I really need
> to do this in a single step (i.e. I won't have console access to issue any
> commands after all processes have been killed off and all the world's got
> is a root shell), so the script mustn't get killed while the system is coming
Hack sysvinit/shutdown.c so that it exec /sbin/telinit U and put the adequate
command in /etc/inittab ?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/