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 d158e43e29e294d219bdc17fb87e01376fa6c266
parent 0250165791df0e713de86e35297bc4756b0c7bfb
Author: Morel BĂ©renger <berenger.morel@neutralite.org>
Date:   Thu, 14 Nov 2019 15:21:02 +0100

replaced debian getty script with a custom one based on busybox

Diffstat:
Aetc/busybox/run/getty.run | 5+++++
Metc/runit/2 | 7++++++-
2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/etc/busybox/run/getty.run b/etc/busybox/run/getty.run @@ -0,0 +1,5 @@ +#!/bin/sh + +. /etc/runit/common + +exec chpst -b getty busybox 0 ${TTY:-$SVNAME} diff --git a/etc/runit/2 b/etc/runit/2 @@ -13,7 +13,12 @@ do ln -s /etc/busybox/dhcpc.run $SVDIR/$i/run done -find /etc/service/ -type l -execdir cp -r -L -t $SVDIR {} \+ +for i in $(seq 1 6) +do + mkdir $SVDIR/tty$i -p + ln -s /etc/busybox/getty.run $SVDIR/tty$i/run +done +#find /etc/service/ -type l -execdir cp -r -L -t $SVDIR {} \+ # This script is also invoked in runit-systemd and runit-sysv packages. # We must start sulogin and sysv scripts only if `runit' is current init