ts-7000
[Top] [All Lists]

[ts-7000] Re: Shutting down a TS7200

To:
Subject: [ts-7000] Re: Shutting down a TS7200
From: "Yan Seiner" <>
Date: Fri, 12 Jan 2007 16:25:03 -0000
--- In  Jim Jackson <> wrote:
> >
> > /sbin/halt worked....  I'm running busybox 1.2.1, so init 0 doesn't
> > work....  (Busybox doesn't do runlevels.)
> 
> Sorry?
> 
> BusyBox v1.00-rc3 (2006.02.20-14:02+0000) Built-in shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> scandium# init 0
> INIT: Switching to runlevel: 0
> INIT: Sending processes the TERM signal
> INIT: Sending processes the KI
> The system is going down NOW !!
> Sending SIGTERM to all processes.
> INIT: no more processes left in this runlevel
> Sending SIGKILL to all processes.
> flushing ide devices: hda
> System halted.
> 

If you're using the TS file system, TS uses the standard sysv init,
and not the one from busybox.  They did this to get around a nasty
insmod bug that made loading modules impossible.  This bug was
introduced into busybox sometime around 0.9 and was fixed by 1.1.

So...  From the current busybox docs:

init
    init 

    Init is the parent of all processes.

    This version of init is designed to be run only by the kernel.

    BusyBox init doesn't support multiple runlevels. The runlevels
field of the /etc/inittab file is completely ignored by BusyBox init.
If you want runlevels, use sysvinit.

If you're using busybox init as I am, you cannot change runlevels. 
The busybox init doesn't support any arguments:

root:~> init 0
BusyBox v1.2.1 (2007.01.10-00:14+0000) multi-call binary

Usage: init

root:~>

(I fought with this early on in my development cycle...  I wanted a
pure busybox system, as building the sysv init as a standalone app is
a PITA...)

--Yan




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU