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 ce855d196b63545539c7efb407ed94a44049bc1d
parent 074115579e06e6e9d2507a8a9c250dfe5755147f
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Thu, 12 Nov 2020 19:52:17 +0100

improve f76ea195b1: simpler code

Diffstat:
Mtemplates/generic/root/etc/sv/udhcpc/run | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/generic/root/etc/sv/udhcpc/run b/templates/generic/root/etc/sv/udhcpc/run @@ -3,7 +3,7 @@ set -e exec 2>&1 -IFACE="$(ps -oargs $PPID | sed -n '/runsv/ s/runsv // p')" +IFACE="$(ps -oargs $PPID | cut -f2 -d' ')" echo "Starting dhcp client on $IFACE..." exec udhcpc -i ${IFACE} -f -R -n