From 9f709796b8d27d9c98385c4d16e10a3f4e2ceadf Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sat, 6 Aug 2011 13:03:54 -0500
Subject: initscripts: remove tty1

---
 abs/core/initscripts/PKGBUILD      |  8 +++++---
 abs/core/initscripts/__changelog   |  3 ++-
 abs/core/initscripts/inittab.patch | 10 ++++++++++
 3 files changed, 17 insertions(+), 4 deletions(-)
 create mode 100644 abs/core/initscripts/inittab.patch

diff --git a/abs/core/initscripts/PKGBUILD b/abs/core/initscripts/PKGBUILD
index 0e07da3..98f7856 100644
--- a/abs/core/initscripts/PKGBUILD
+++ b/abs/core/initscripts/PKGBUILD
@@ -5,7 +5,7 @@
 
 pkgname=initscripts
 pkgver=2011.06.4
-pkgrel=3
+pkgrel=4
 pkgdesc="System initialization/bootup scripts"
 arch=('i686' 'x86_64')
 url="http://www.archlinux.org"
@@ -20,7 +20,7 @@ optdepends=('bridge-utils: Network bridging support'
             'wireless_tools: Wireless networking')
 install=initscripts.install
 source=("ftp://ftp.archlinux.org/other/initscripts/${pkgname}-${pkgver}.tar.xz"
-        'wireless.conf.d' 'rc.sysinit.patch' 'rc.shutdown.patch' 'rc.multi.patch')
+        'wireless.conf.d' 'rc.sysinit.patch' 'rc.shutdown.patch' 'rc.multi.patch' 'inittab.patch')
 
 
 
@@ -31,6 +31,7 @@ package() {
   patch -p0 < ${srcdir}/rc.sysinit.patch || exit 1
   patch -p0 < ${srcdir}/rc.shutdown.patch || exit 1
   patch -p0 < ${srcdir}/rc.multi.patch || exit 1
+  patch -p0 < ${srcdir}/inittab.patch || exit 1
   make DESTDIR=${pkgdir} install
   install -D -m644 ${srcdir}/wireless.conf.d ${pkgdir}/etc/conf.d/wireless.example
 }
@@ -38,4 +39,5 @@ md5sums=('34cbe55f3f42069c59237db935d0511b'
          '027576534885b8d5dded9be546057b12'
          'eaa31b96513d834b50d116cb51f9ebbe'
          '73abaf06450104bddf16d409015f81ab'
-         'a166ea014a1c75860b14fc98825686cc')
+         'a166ea014a1c75860b14fc98825686cc'
+         '521bbd001633d14b08e5471bea584ee4')
diff --git a/abs/core/initscripts/__changelog b/abs/core/initscripts/__changelog
index 58bfd36..52f3642 100644
--- a/abs/core/initscripts/__changelog
+++ b/abs/core/initscripts/__changelog
@@ -1,7 +1,8 @@
-Patch init scripts
+Patch init scripts (remove tty1, linhes header)
   patch -p0 < ${srcdir}/rc.sysinit.patch || exit 1
   patch -p0 < ${srcdir}/rc.shutdown.patch || exit 1
   patch -p0 < ${srcdir}/rc.multi.patch || exit 1
+  patch -p0 < ${srcdir}/inittab.patch || exit 1
 
 
 rename wireless.conf -> wireless.conf.example
diff --git a/abs/core/initscripts/inittab.patch b/abs/core/initscripts/inittab.patch
new file mode 100644
index 0000000..d92bfed
--- /dev/null
+++ b/abs/core/initscripts/inittab.patch
@@ -0,0 +1,10 @@
+--- inittab.orig	2011-08-06 17:44:17.563781289 +0000
++++ inittab	2011-08-06 17:44:36.440448743 +0000
+@@ -24,7 +24,6 @@
+ su:S:wait:/sbin/sulogin -p
+ 
+ # -8 options fixes umlauts problem on login
+-c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
+ c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
+ c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
+ c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
-- 
cgit v0.12