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

commit 1c1ada3951d96a02b13b049688f048ea8adba517
parent f76ea195b19f2b0392436b0f61094c1f44a70438
Author: Morel BĂ©renger <>
Date:   Thu, 12 Nov 2020 17:04:14 +0100

udhcpc now uses folder name as IFACE

MTODO | 3++-
Mtemplates/generic/root/etc/sv/udhcpc/run | 7+++----
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/TODO b/TODO @@ -10,6 +10,7 @@ improve debootstrap uses (to use my own package list as variant) implement a better dialog (with a readline like) implement fakechroot(-ng?) fix debootstrap not unpacking when a file conflicts (for example /etc/issue in base-files) -remove package iproute2 +duplicate busybox: iproute2 +duplicate busybox: psmisc scan for NICs? improve udhcpc script: requires conf for now, should find a better trick diff --git a/templates/generic/root/etc/sv/udhcpc/run b/templates/generic/root/etc/sv/udhcpc/run @@ -1,10 +1,9 @@ #!/bin/sh -set -xe +set -e exec 2>&1 -echo "Starting dhcp client on $(basename $(pwd))..." - -IFACE="$(basename $(pwd))" +IFACE="$(ps -oargs $PPID | sed -n '/runsv/ s/runsv // p')" +echo "Starting dhcp client on $IFACE..." exec udhcpc -i ${IFACE} -f -R -n