examples/inittab: fix a few incorrect statements about init

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2013-03-29 14:35:44 +01:00
parent 8172d054db
commit 2c0508b4fa
2 changed files with 2 additions and 15 deletions

View File

@ -15,10 +15,7 @@
# the specified process to run on. The contents of this field are # the specified process to run on. The contents of this field are
# appended to "/dev/" and used as-is. There is no need for this field to # appended to "/dev/" and used as-is. There is no need for this field to
# be unique, although if it isn't you may have strange results. If this # be unique, although if it isn't you may have strange results. If this
# field is left blank, it is completely ignored. Also note that if # field is left blank, then the init's stdin/out will be used.
# BusyBox detects that a serial console is in use, then all entries
# containing non-empty id fields will be ignored. BusyBox init does
# nothing with utmp. We don't need no stinkin' utmp.
# #
# <runlevels>: The runlevels field is completely ignored. # <runlevels>: The runlevels field is completely ignored.
# #
@ -43,9 +40,6 @@
# ::shutdown:/sbin/swapoff -a # ::shutdown:/sbin/swapoff -a
# ::shutdown:/bin/umount -a -r # ::shutdown:/bin/umount -a -r
# ::restart:/sbin/init # ::restart:/sbin/init
#
# if it detects that /dev/console is _not_ a serial console, it will
# also run:
# tty2::askfirst:/bin/sh # tty2::askfirst:/bin/sh
# tty3::askfirst:/bin/sh # tty3::askfirst:/bin/sh
# tty4::askfirst:/bin/sh # tty4::askfirst:/bin/sh

View File

@ -1234,9 +1234,6 @@ int init_main(int argc UNUSED_PARAM, char **argv)
//usage: " ::shutdown:/sbin/swapoff -a\n" //usage: " ::shutdown:/sbin/swapoff -a\n"
//usage: " ::shutdown:/bin/umount -a -r\n" //usage: " ::shutdown:/bin/umount -a -r\n"
//usage: " ::restart:/sbin/init\n" //usage: " ::restart:/sbin/init\n"
//usage: "\n"
//usage: "if it detects that /dev/console is _not_ a serial console, it will also run:\n"
//usage: "\n"
//usage: " tty2::askfirst:/bin/sh\n" //usage: " tty2::askfirst:/bin/sh\n"
//usage: " tty3::askfirst:/bin/sh\n" //usage: " tty3::askfirst:/bin/sh\n"
//usage: " tty4::askfirst:/bin/sh\n" //usage: " tty4::askfirst:/bin/sh\n"
@ -1252,11 +1249,7 @@ int init_main(int argc UNUSED_PARAM, char **argv)
//usage: " the specified process to run on. The contents of this field are\n" //usage: " the specified process to run on. The contents of this field are\n"
//usage: " appended to \"/dev/\" and used as-is. There is no need for this field to\n" //usage: " appended to \"/dev/\" and used as-is. There is no need for this field to\n"
//usage: " be unique, although if it isn't you may have strange results. If this\n" //usage: " be unique, although if it isn't you may have strange results. If this\n"
//usage: " field is left blank, the controlling tty is set to the console. Also\n" //usage: " field is left blank, then the init's stdin/out will be used.\n"
//usage: " note that if BusyBox detects that a serial console is in use, then only\n"
//usage: " entries whose controlling tty is either the serial console or /dev/null\n"
//usage: " will be run. BusyBox init does nothing with utmp. We don't need no\n"
//usage: " stinkin' utmp.\n"
//usage: "\n" //usage: "\n"
//usage: " <runlevels>:\n" //usage: " <runlevels>:\n"
//usage: "\n" //usage: "\n"