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

commit fa2417b36e6783abfc881dbc322b713a2852c7e7
parent 654b4efc9dc6025aab4dd31ae128b099d765493e
Author: Morel BĂ©renger <>
Date:   Thu, 14 Nov 2019 17:10:06 +0100

automatically create an sshd daemon in iso

Metc/runit/2 | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/etc/runit/2 b/etc/runit/2 @@ -8,6 +8,9 @@ busybox ip link set up lo mkdir -p /var/log/fsck $SVDIR chown root:adm -R /var/log/fsck chmod 750 -R /var/log/fsck + +# network interfaces +busybox ip link set up lo for i in $(busybox ip -o link | cut -f2 -d: | grep -v '\<lo\>') do mkdir $SVDIR/$i/log -p @@ -15,12 +18,18 @@ do ln -s /etc/busybox/run/ $SVDIR/$i/run done +# gettys for i in $(seq 1 6) do mkdir $SVDIR/tty$i -p ln -s /etc/busybox/run/ $SVDIR/tty$i/run done +# sshd (dropbear) +mkdir $SVDIR/sshd/log -p +ln -s /etc/runit/ $SVDIR/sshd/log/run +ln -s /etc/dropbear/run/ $SVDIR/sshd/run + # 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 # system.