On Tue, Dec 29, 2009 at 12:31 AM, Martin Bligh <[email protected]> wrote: > This should have been a separate change. Reverting, together with lmr's fix. > Will put them back as a proper change with changelog in a second.
Both look good to me, thanks! > Signed-off-by: Martin J. Bligh <[email protected]> > > Index: client/bin/harness_standalone.py > =================================================================== > --- client/bin/harness_standalone.py (revision 4059) > +++ client/bin/harness_standalone.py (working copy) > @@ -36,11 +36,9 @@ > if os.path.exists('/etc/event.d'): > # NB: assuming current runlevel is default > initdefault = utils.system_output('/sbin/runlevel').split()[1] > - elif os.path.exists('/etc/inittab'): > + else: > initdefault = utils.system_output('grep :initdefault: > /etc/inittab') > initdefault = initdefault.split(':')[1] > - else: > - initdefault = '2' > > try: > utils.system('ln -sf %s /etc/init.d/autotest' % rc) > _______________________________________________ > Autotest mailing list > [email protected] > http://test.kernel.org/cgi-bin/mailman/listinfo/autotest > -- Lucas _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
