Hi Jude, On Fri, 16 Oct 2009, Mr. Ssemwogerere Jude T.B wrote:
> I want to add this command and have it executed as long as the system is > running. > > "top -u root -c > /dev/tty1" > > I tried adding it to the init process of runlevel 3 but the system does not > complete loading the runlevel. > > Any hints ? I guess init doesn't know how to redirect file descriptors to a file, that's normally done by the shell. You could try this: top:3:/bin/sh -c "top -u root -c > /dev/tty1" Cheers, Chris. -- Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES Aptivate is a not-for-profit company registered in England and Wales with company number 04980791. _______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
