diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 17:27:58 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 17:27:58 +0000 |
commit | e7198e490325a95f1f5c301f76005e4333a08dad (patch) | |
tree | 0c30a5703afb541492ef1e5d682f0953477091e4 /meta | |
parent | bdf2abbad6a091692e71e73a25aa0995d0e8505a (diff) | |
download | poky-e7198e490325a95f1f5c301f76005e4333a08dad.tar.gz |
initscripts: add inittab for fic-gta01 to not start getty on serial (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3100 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/initscripts/initscripts-1.0/fic-gta01/inittab | 48 | ||||
-rw-r--r-- | meta/packages/initscripts/initscripts_1.0.bb | 2 |
2 files changed, 49 insertions, 1 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/fic-gta01/inittab b/meta/packages/initscripts/initscripts-1.0/fic-gta01/inittab new file mode 100644 index 0000000000..8d313b2a58 --- /dev/null +++ b/meta/packages/initscripts/initscripts-1.0/fic-gta01/inittab | |||
@@ -0,0 +1,48 @@ | |||
1 | # /etc/inittab: init(8) configuration. | ||
2 | # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ | ||
3 | |||
4 | # The default runlevel. | ||
5 | id:5:initdefault: | ||
6 | |||
7 | # Boot-time system configuration/initialization script. | ||
8 | # This is run first except when booting in emergency (-b) mode. | ||
9 | si::sysinit:/etc/init.d/rcS | ||
10 | |||
11 | # What to do in single-user mode. | ||
12 | ~~:S:wait:/sbin/sulogin | ||
13 | |||
14 | # Shut down if kernel sends us SIGINT or SIGPWR | ||
15 | ca::ctrlaltdel:/sbin/halt -p | ||
16 | pf::powerfailnow:/sbin/halt -p | ||
17 | |||
18 | # /etc/init.d executes the S and K scripts upon change | ||
19 | # of runlevel. | ||
20 | # | ||
21 | # Runlevel 0 is halt. | ||
22 | # Runlevel 1 is single-user. | ||
23 | # Runlevels 2-5 are multi-user. | ||
24 | # Runlevel 6 is reboot. | ||
25 | |||
26 | l0:0:wait:/etc/init.d/rc 0 | ||
27 | l1:1:wait:/etc/init.d/rc 1 | ||
28 | l2:2:wait:/etc/init.d/rc 2 | ||
29 | l3:3:wait:/etc/init.d/rc 3 | ||
30 | l4:4:wait:/etc/init.d/rc 4 | ||
31 | l5:5:wait:/etc/init.d/rc 5 | ||
32 | l6:6:wait:/etc/init.d/rc 6 | ||
33 | # Normally not reached, but fallthrough in case of emergency. | ||
34 | z6:6:respawn:/sbin/sulogin | ||
35 | |||
36 | # /sbin/getty invocations for the runlevels. | ||
37 | # | ||
38 | # The "id" field MUST be the same as the last | ||
39 | # characters of the device (after "tty"). | ||
40 | # | ||
41 | # Format: | ||
42 | # <id>:<runlevels>:<action>:<process> | ||
43 | |||
44 | # NOTE: FIC GTA01 has this odd multiplexer on ttySAC0 since | ||
45 | # GSM shares it with the serial output. We only allow | ||
46 | # the getty in runlevel 2 to cope with that. gsmd gets | ||
47 | # started in runlevel 3. -- mickey@openmoko.org | ||
48 | S:2:respawn:/sbin/getty 115200 ttySAC0 | ||
diff --git a/meta/packages/initscripts/initscripts_1.0.bb b/meta/packages/initscripts/initscripts_1.0.bb index 06a12c04a5..52413a727d 100644 --- a/meta/packages/initscripts/initscripts_1.0.bb +++ b/meta/packages/initscripts/initscripts_1.0.bb | |||
@@ -4,7 +4,7 @@ PRIORITY = "required" | |||
4 | DEPENDS = "makedevs" | 4 | DEPENDS = "makedevs" |
5 | RDEPENDS = "makedevs" | 5 | RDEPENDS = "makedevs" |
6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
7 | PR = "r100" | 7 | PR = "r101" |
8 | 8 | ||
9 | SRC_URI = "file://functions \ | 9 | SRC_URI = "file://functions \ |
10 | file://halt \ | 10 | file://halt \ |