autoinst

scripts to make installation of custom debian easier and more automated
git clone git://deadbeef.fr/autoinst.git
Log | Files | Refs | README | LICENSE

commit 25d43d8f91ba3a855c4110b17e314c0a1a11257c
parent 43771f8d6a8b2a6f7c90d78457f12369e44d75f6
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Sun, 15 Nov 2020 23:01:47 +0100

replace busybox-getty with the smarter fgetty

Diffstat:
Mtemplates/generic/packages/usual_tools.list | 2+-
Dtemplates/generic/root/etc/service/bbgetty-tty1/run | 14--------------
2 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/templates/generic/packages/usual_tools.list b/templates/generic/packages/usual_tools.list @@ -1 +1 @@ -psmisc,iproute2,udhcpc,kbd,procps, +psmisc,iproute2,udhcpc,kbd,procps,fgetty, diff --git a/templates/generic/root/etc/service/bbgetty-tty1/run b/templates/generic/root/etc/service/bbgetty-tty1/run @@ -1,14 +0,0 @@ -#!/bin/sh - -. /etc/runit/common - -TTY="$(echo ${SVNAME} | cut -f2 -d-)" - -test -n "$TTY" || badconf "Unable to retrieve TTY name from \"$SVNAME\"" -test -c "/dev/$TTY" || badconf "$TTY is not a character special file" - -CONF="$(grep "^$TTY" /etc/bb.conf.d/getty)" -BAUDRATE="$(echo $CONF | cut -d: -f2)" -TERMTYPE="$(echo $CONF | cut -d: -f3)" -echo "Starting getty on $TTY..." -exec chpst -b getty busybox ${BAUDRATE:-9600} $TTY ${TERMTYPE:-linux}