problem using upstart with an busybox based system

Stephan Raue mailinglists at openelec.tv
Mon Dec 21 11:34:43 GMT 2009


Hi all,

i am trying to replace my shellbased init scripts in my embedded 
distribution with upstart. now i have problems starting with upstart. i 
use busybox as an replacement for various systemprograms - also for the 
shell (/bin/sh). i becoming errors like:

getty: invalid option: -l
sh: invalid option: -e

if i start with my old initsystem  getty -l and sh -e is working. if i 
install the default ctrl-alt-del.conf i become also errors like "sh: 
invalid option: -e"...

my scripts for test look like:

start on startup

#respawn
console output

exec getty -n -l /bin/sh 38400 tty3

and:

start on startup

#respawn
console output

exec /sbin/acpid /dev/input/event*

what can be my problem? what is wrong? i tested this with upstart 0.6.3 
and 0.5.0. why ctrl-alt-del.conf and other upstart scripts uses "/bin/sh 
-e" even they have no the script stanza?

thank you for helping me

Stephan

-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
              http://www.openelec.tv




More information about the upstart-devel mailing list