1 |
slords |
1.1 |
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/11sysinit e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/11sysinit |
2 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/11sysinit 2005-11-20 21:28:07.000000000 -0700 |
3 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/11sysinit 1969-12-31 17:00:00.000000000 -0700 |
4 |
|
|
@@ -1,2 +0,0 @@ |
5 |
|
|
-# System initialization. |
6 |
|
|
-si::sysinit:/etc/rc.d/rc.sysinit |
7 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/12tty2 e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/12tty2 |
8 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/12tty2 2008-10-07 11:34:53.000000000 -0600 |
9 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/12tty2 1969-12-31 17:00:00.000000000 -0700 |
10 |
|
|
@@ -1 +0,0 @@ |
11 |
|
|
-{ -f "/proc/xen/xenbus" && ! -f "/proc/xen/xsd_kva" ? "#" : "" }2:23457:respawn:/sbin/mingetty tty2 |
12 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/13tty3 e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/13tty3 |
13 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/13tty3 2008-10-07 11:34:53.000000000 -0600 |
14 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/13tty3 1969-12-31 17:00:00.000000000 -0700 |
15 |
|
|
@@ -1 +0,0 @@ |
16 |
|
|
-{ -f "/proc/xen/xenbus" && ! -f "/proc/xen/xsd_kva" ? "#" : "" }3:23457:respawn:/sbin/mingetty tty3 |
17 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/16ctrlaltdel e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/16ctrlaltdel |
18 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/16ctrlaltdel 2006-02-16 20:41:51.000000000 -0700 |
19 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/16ctrlaltdel 1969-12-31 17:00:00.000000000 -0700 |
20 |
|
|
@@ -1,12 +0,0 @@ |
21 |
|
|
-# Trap CTRL-ALT-DELETE |
22 |
|
|
-{ |
23 |
|
|
- my $Status = $ctrlaltdel{'status'}; |
24 |
|
|
- if (defined $Status && $Status eq "enabled") |
25 |
|
|
- { |
26 |
|
|
- $OUT .= "ca::ctrlaltdel:/sbin/shutdown -t3 -r now"; |
27 |
|
|
- } |
28 |
|
|
- else |
29 |
|
|
- { |
30 |
|
|
- $OUT .= "# shutdown on ctrlaltdel is currently disabled"; |
31 |
|
|
- } |
32 |
|
|
-} |
33 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/20runlevels e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/20runlevels |
34 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/20runlevels 2005-11-20 21:28:07.000000000 -0700 |
35 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/20runlevels 1969-12-31 17:00:00.000000000 -0700 |
36 |
|
|
@@ -1,21 +0,0 @@ |
37 |
|
|
- |
38 |
|
|
-# The runlevels used by RHS are: |
39 |
|
|
-# 0 - halt (Do NOT set initdefault to this) |
40 |
|
|
-# 1 - Single user mode |
41 |
|
|
-# 2 - Multiuser, without NFS (The same as 3, if you do not have networking) |
42 |
|
|
-# 3 - Full multiuser mode |
43 |
|
|
-# 4 - unused |
44 |
|
|
-# 5 - X11 |
45 |
|
|
-# 6 - reboot (Do NOT set initdefault to this) |
46 |
|
|
-# 7 - e-smith server and gateway |
47 |
|
|
-# |
48 |
|
|
- |
49 |
|
|
-l0:0:wait:/etc/rc.d/rc.e-smith 0 |
50 |
|
|
-l1:1:wait:/etc/rc.d/rc 1 |
51 |
|
|
-l2:2:wait:/etc/rc.d/rc 2 |
52 |
|
|
-l3:3:wait:/etc/rc.d/rc 3 |
53 |
|
|
-l4:4:wait:/etc/rc.d/rc 4 |
54 |
|
|
-l5:5:wait:/etc/rc.d/rc 5 |
55 |
|
|
-l6:6:wait:/etc/rc.d/rc.e-smith 6 |
56 |
|
|
-l7:7:wait:/etc/rc.d/rc.e-smith 7 |
57 |
|
|
- |
58 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/70tty1 e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/70tty1 |
59 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/70tty1 2008-10-07 11:34:53.000000000 -0600 |
60 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/70tty1 1969-12-31 17:00:00.000000000 -0700 |
61 |
|
|
@@ -1,16 +0,0 @@ |
62 |
|
|
- |
63 |
|
|
-# Run gettys in standard runlevels |
64 |
|
|
-{ |
65 |
|
|
- if ( -f "/proc/xen/xenbus" && ! -f "/proc/xen/xsd_kva" ) |
66 |
|
|
- { |
67 |
|
|
- "co:123457:respawn:/sbin/agetty xvc0 9600 vt100-nav"; |
68 |
|
|
- } |
69 |
|
|
- elsif ($ConsoleMode && ($ConsoleMode ne 'auto')) |
70 |
|
|
- { |
71 |
|
|
- "1:123457:respawn:/sbin/mingetty tty1"; |
72 |
|
|
- } |
73 |
|
|
- else |
74 |
|
|
- { |
75 |
|
|
- "1:123457:respawn:/sbin/e-smith/console tty1"; |
76 |
|
|
- } |
77 |
|
|
-} |
78 |
|
|
diff -ruN e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/90serial e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/90serial |
79 |
|
|
--- e-smith-base-5.4.0.old/root/etc/e-smith/templates/etc/inittab/90serial 2005-11-20 21:28:07.000000000 -0700 |
80 |
|
|
+++ e-smith-base-5.4.0/root/etc/e-smith/templates/etc/inittab/90serial 1969-12-31 17:00:00.000000000 -0700 |
81 |
|
|
@@ -1,15 +0,0 @@ |
82 |
|
|
-{ |
83 |
|
|
- $OUT = ''; |
84 |
|
|
- |
85 |
|
|
- my $status = ${'serial-console'}{status} || 'disabled'; |
86 |
|
|
- return unless $status eq 'enabled'; |
87 |
|
|
- |
88 |
|
|
- my $device = ${'serial-console'}{Device} || 'ttyS0'; |
89 |
|
|
- $device =~ /(.)$/; # Select final char of device for inittab key |
90 |
|
|
- |
91 |
|
|
- my $baud = ${'serial-console'}{BaudRate} || 19200; |
92 |
|
|
- |
93 |
|
|
- my $terminal = ${'serial-console'}{Terminal} || ''; |
94 |
|
|
- |
95 |
|
|
- $OUT .= "s$1:123457:respawn:/sbin/agetty $baud $device $terminal"; |
96 |
|
|
-} |