diff options
Diffstat (limited to 'livecd-overlay/usr/local/portage/app-misc/glentoo-tools/files/glentoo-tools-0.1-ttyB0.patch')
-rw-r--r-- | livecd-overlay/usr/local/portage/app-misc/glentoo-tools/files/glentoo-tools-0.1-ttyB0.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/livecd-overlay/usr/local/portage/app-misc/glentoo-tools/files/glentoo-tools-0.1-ttyB0.patch b/livecd-overlay/usr/local/portage/app-misc/glentoo-tools/files/glentoo-tools-0.1-ttyB0.patch new file mode 100644 index 0000000..1e9904d --- /dev/null +++ b/livecd-overlay/usr/local/portage/app-misc/glentoo-tools/files/glentoo-tools-0.1-ttyB0.patch @@ -0,0 +1,14 @@ +# Comment out the ttyB0 line in inittab, by gmsoft + +diff --git a/livecd-functions.sh b/livecd-functions.sh +index d51dd9e..cfc1a57 100755 +--- a/livecd-functions.sh ++++ b/livecd-functions.sh +@@ -551,6 +551,7 @@ livecd_fix_inittab() { + # Comment out current getty settings + sed -i -e '/^c[0-9]/ s/^/#/' /etc/inittab + sed -i -e '/^s[01]/ s/^/#/' /etc/inittab ++ sed -i -e '/^b0/ s/^/#/' /etc/inittab + + # SPARC & HPPA console magic + if [ "${HOSTTYPE}" = "sparc" -o "${HOSTTYPE}" = "hppa" -o "${HOSTTYPE}" = "ppc64" ] |