On Wed, Nov 21, 2007 at 05:51:38PM +0100, Frantisek Dufka wrote: > Luciano Rocha wrote: > > In inittab, add something like: > > ::restart:/sbin/init > > Then kill init with signal QUIT: > > kill -QUIT 1 > > Then init will execute the program at /sbin/init, that can be a symlink > > to /linuxrc in your mtdblock3, or change the inittab directoy. > > Thanks but isn't this used and meant for something else (like when init > restarts itself on upgrade) so this may actually happen and should be left > alone pointing to real init?
Yes, but when you pivot_root to the mtdblock3, the sbin/init can be whatever you want without messing with the real one. So create there a link from sbin/init to /linuxrc -- lfr 0/0
pgpLNmEW5kdI1.pgp
Description: PGP signature
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
