1 |
Marc Blumentritt schrieb: |
2 |
Stupid me! Two errors: |
3 |
> |
4 |
> # Default runlevel. |
5 |
> #id:3:initdefault: |
6 |
> |
7 |
> # System initialization, mount local filesystems, etc. |
8 |
> #si::sysinit:/sbin/rc sysinit |
9 |
> ::sysinit:/sbin/rc sysinit |
10 |
> |
11 |
> # Further system initialization, brings up the boot runlevel. |
12 |
> #rc::bootwait:/sbin/rc boot |
13 |
> ::wait:/sbin/rc boot |
14 |
> |
15 |
> #l0:0:wait:/sbin/rc shutdown |
16 |
::shutdown:/sbin/rc shutdown |
17 |
|
18 |
> #l1:S1:wait:/sbin/rc single |
19 |
> #l2:2:wait:/sbin/rc nonetwork |
20 |
> #l3:3:wait:/sbin/rc default |
21 |
> ::wait:/sbin/rc default |
22 |
> #l4:4:wait:/sbin/rc default |
23 |
> #l5:5:wait:/sbin/rc default |
24 |
> #l6:6:wait:/sbin/rc reboot |
25 |
#::shutdown:/sbin/rc reboot |
26 |
|
27 |
Wrong shutdown command |
28 |
|
29 |
|
30 |
> #z6:6:respawn:/sbin/sulogin |
31 |
> |
32 |
> # Used by /etc/init.d/xdm to control DM startup. |
33 |
> # Read the comments in /etc/init.d/xdm for more |
34 |
> # info. Do NOT remove, as this will start nothing |
35 |
> # extra at boot if /etc/init.d/xdm is not added |
36 |
> # to the "default" runlevel. |
37 |
> #x:a:once:/etc/X11/startDM.sh |
38 |
> ::once:/etc/X11/startDM.sh |
39 |
> |
40 |
> # TERMINALS |
41 |
> #c1:12345:respawn:/sbin/getty 38400 tty1 linux |
42 |
> #c2:2345:respawn:/sbin/getty 38400 tty2 linux |
43 |
> #c3:2345:respawn:/sbin/getty 38400 tty3 linux |
44 |
> #c4:2345:respawn:/sbin/getty 38400 tty4 linux |
45 |
> #c5:2345:respawn:/sbin/getty 38400 tty5 linux |
46 |
> #c6:2345:respawn:/sbin/getty 38400 tty6 linux |
47 |
> tty1::respawn:/sbin/getty 38400 tty1 |
48 |
> tty2::respawn:/sbin/getty 38400 tty2 |
49 |
> tty3::respawn:/sbin/getty 38400 tty3 |
50 |
> tty4::respawn:/sbin/getty 38400 tty4 |
51 |
> tty5::respawn:/sbin/getty 38400 tty5 |
52 |
> tty6::respawn:/sbin/getty 38400 tty6 |
53 |
> |
54 |
> # SERIAL CONSOLES |
55 |
> #s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100 |
56 |
> #s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100 |
57 |
> |
58 |
> # What to do at the "Three Finger Salute". |
59 |
> #ca:12345:ctrlaltdel:/sbin/shutdown -r now |
60 |
> ::ctrlaltdel:/sbin/shutdown -r now |
61 |
> # or the next line, because shutdown off bb |
62 |
> # works different then shutdown of sysvinit? |
63 |
> #::ctrlaltdel:/sbin/rc reboot |
64 |
|
65 |
busybox does not provide shutdown command! |
66 |
::ctrlaltdel:/sbin/rc reboot |
67 |
|
68 |
Does "/sbin/rc shutdown" work, if busybox does not provide shutdown command? |
69 |
|
70 |
Regards |
71 |
Marc |
72 |
|
73 |
-- |
74 |
gentoo-embedded@g.o mailing list |