SOURCES: upstart-SysVinit-tty1.event, upstart-SysVinit-tty2.event, upstart-...

patrys patrys at pld-linux.org
Thu Nov 13 22:42:27 CET 2008


Author: patrys                       Date: Thu Nov 13 21:42:27 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for upstart 0.5
- openvt is required as otherwise mingetty complains
- this is due to all mingetty processes being in the same process group

---- Files affected:
SOURCES:
   upstart-SysVinit-tty1.event (1.1 -> 1.2) , upstart-SysVinit-tty2.event (1.1 -> 1.2) , upstart-SysVinit-tty3.event (1.1 -> 1.2) , upstart-SysVinit-tty4.event (1.1 -> 1.2) , upstart-SysVinit-tty5.event (1.1 -> 1.2) , upstart-SysVinit-tty6.event (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/upstart-SysVinit-tty1.event
diff -u SOURCES/upstart-SysVinit-tty1.event:1.1 SOURCES/upstart-SysVinit-tty1.event:1.2
--- SOURCES/upstart-SysVinit-tty1.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty1.event	Thu Nov 13 22:42:19 2008
@@ -3,14 +3,14 @@
 # This service maintains a getty on tty1 from the point the system is
 # started until it is shut down again.
 
-start on runlevel 2
-start on runlevel 3
-start on runlevel 4
-start on runlevel 5
+start on stopped rc2
+start on stopped rc3
+start on stopped rc4
+start on stopped rc5
 
 stop on runlevel 0
 stop on runlevel 1
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty --noclear tty1
+exec /usr/bin/openvt -c 1 -w /sbin/mingetty --noclear tty1

================================================================
Index: SOURCES/upstart-SysVinit-tty2.event
diff -u SOURCES/upstart-SysVinit-tty2.event:1.1 SOURCES/upstart-SysVinit-tty2.event:1.2
--- SOURCES/upstart-SysVinit-tty2.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty2.event	Thu Nov 13 22:42:20 2008
@@ -5,12 +5,12 @@
 
 start on runlevel 2
 start on runlevel 3
+start on runlevel 4
+start on runlevel 5
 
 stop on runlevel 0
 stop on runlevel 1
-stop on runlevel 4
-stop on runlevel 5
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty tty2
+exec /usr/bin/openvt -c 2 -w /sbin/mingetty tty2

================================================================
Index: SOURCES/upstart-SysVinit-tty3.event
diff -u SOURCES/upstart-SysVinit-tty3.event:1.1 SOURCES/upstart-SysVinit-tty3.event:1.2
--- SOURCES/upstart-SysVinit-tty3.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty3.event	Thu Nov 13 22:42:20 2008
@@ -5,12 +5,12 @@
 
 start on runlevel 2
 start on runlevel 3
+start on runlevel 4
+start on runlevel 5
 
 stop on runlevel 0
 stop on runlevel 1
-stop on runlevel 4
-stop on runlevel 5
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty tty3
+exec /usr/bin/openvt -c 3 -w /sbin/mingetty tty3

================================================================
Index: SOURCES/upstart-SysVinit-tty4.event
diff -u SOURCES/upstart-SysVinit-tty4.event:1.1 SOURCES/upstart-SysVinit-tty4.event:1.2
--- SOURCES/upstart-SysVinit-tty4.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty4.event	Thu Nov 13 22:42:21 2008
@@ -5,12 +5,12 @@
 
 start on runlevel 2
 start on runlevel 3
+start on runlevel 4
+start on runlevel 5
 
 stop on runlevel 0
 stop on runlevel 1
-stop on runlevel 4
-stop on runlevel 5
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty tty4
+exec /usr/bin/openvt -c 4 -w /sbin/mingetty tty4

================================================================
Index: SOURCES/upstart-SysVinit-tty5.event
diff -u SOURCES/upstart-SysVinit-tty5.event:1.1 SOURCES/upstart-SysVinit-tty5.event:1.2
--- SOURCES/upstart-SysVinit-tty5.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty5.event	Thu Nov 13 22:42:21 2008
@@ -5,12 +5,12 @@
 
 start on runlevel 2
 start on runlevel 3
+start on runlevel 4
+start on runlevel 5
 
 stop on runlevel 0
 stop on runlevel 1
-stop on runlevel 4
-stop on runlevel 5
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty tty5
+exec /usr/bin/openvt -c 5 -w /sbin/mingetty tty5

================================================================
Index: SOURCES/upstart-SysVinit-tty6.event
diff -u SOURCES/upstart-SysVinit-tty6.event:1.1 SOURCES/upstart-SysVinit-tty6.event:1.2
--- SOURCES/upstart-SysVinit-tty6.event:1.1	Thu Mar 20 00:56:23 2008
+++ SOURCES/upstart-SysVinit-tty6.event	Thu Nov 13 22:42:21 2008
@@ -5,12 +5,12 @@
 
 start on runlevel 2
 start on runlevel 3
+start on runlevel 4
+start on runlevel 5
 
 stop on runlevel 0
 stop on runlevel 1
-stop on runlevel 4
-stop on runlevel 5
 stop on runlevel 6
 
 respawn
-exec /sbin/mingetty tty6
+exec /usr/bin/openvt -c 6 -w /sbin/mingetty tty6
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty1.event?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty2.event?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty3.event?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty4.event?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty5.event?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/upstart-SysVinit-tty6.event?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list